pub enum ProduceError {
Proof,
Exec(ExecError),
Encode(String),
Verify(VerifyError),
}Expand description
作れなかったわけ
Variants§
Proof
VRF の証明が作れなかった(まず起きない)
Exec(ExecError)
当たりでないか、ハーベストできない。または組んだブロックが実行できない
Encode(String)
組んだバイト列が読めない(組み方の誤り)
Verify(VerifyError)
組んだブロックが、受け取ったブロックと同じ確かめを通らない(組み方の誤り)。catapult はこのうちの多くで、 送った相手を ban する
Trait Implementations§
Source§impl Debug for ProduceError
impl Debug for ProduceError
Source§impl Display for ProduceError
impl Display for ProduceError
Source§impl Error for ProduceError
impl Error for ProduceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ProduceError
impl RefUnwindSafe for ProduceError
impl Send for ProduceError
impl Sync for ProduceError
impl Unpin for ProduceError
impl UnsafeUnpin for ProduceError
impl UnwindSafe for ProduceError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more