pub struct EchoError(/* private fields */);Available on crate feature
echo-broadcast only.Expand description
An error in echo-broadcast sub-protocol
It may indicate that reliability check was not successful, or some other error, for instance, that a round that requires reliable broadcast behaves unexpectedly (e.g. if we received two messages from the same party and the main round didn’t return an error).
Implementations§
Trait Implementations§
Source§impl Error for EchoError
impl Error for EchoError
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()
Source§impl<A, B> From<EchoError> for CompleteRoundError<A, B>
impl<A, B> From<EchoError> for CompleteRoundError<A, B>
Auto Trait Implementations§
impl Freeze for EchoError
impl RefUnwindSafe for EchoError
impl Send for EchoError
impl Sync for EchoError
impl Unpin for EchoError
impl UnwindSafe for EchoError
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