[−][src]Enum round_based::async_runtime::Error
Represents error that can occur while executing protocol
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Receiving next incoming message returned error
Incoming channel closed (got EOF)
Sending outcoming message resulted in error
Handling incoming message produced critical error
Round timeout exceed when executor was waiting for new messages from other parties
ProceedPanicked(JoinError)
Proceed method panicked
State machine proceeding produced critical error
StateMachine's pick_output method return error
AsyncProtocol already executed protocol (or at least, tried to) and tired. You need to construct new executor!
BadStateMachine(BadStateMachineReason)
Buggy StateMachine implementation
InternalError(InternalError)
Buggy AsyncProtocol implementation!
If you've got this error, please, report bug.
Trait Implementations
impl<E: Debug, RE: Debug, SE: Debug> Debug for Error<E, RE, SE>
[src]
impl<E, RE, SE> Display for Error<E, RE, SE> where
E: Display,
RE: Display,
SE: Display,
[src]
E: Display,
RE: Display,
SE: Display,
impl<E, RE, SE> Error for Error<E, RE, SE> where
E: Error + 'static,
RE: Error + 'static,
SE: Error + 'static,
[src]
E: Error + 'static,
RE: Error + 'static,
SE: Error + 'static,
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<E, RE, SE> From<BadStateMachineReason> for Error<E, RE, SE>
[src]
pub fn from(reason: BadStateMachineReason) -> Self
[src]
impl<E, RE, SE> From<InternalError> for Error<E, RE, SE>
[src]
pub fn from(err: InternalError) -> Self
[src]
Auto Trait Implementations
impl<E, RE, SE> RefUnwindSafe for Error<E, RE, SE> where
E: RefUnwindSafe,
RE: RefUnwindSafe,
SE: RefUnwindSafe,
[src]
E: RefUnwindSafe,
RE: RefUnwindSafe,
SE: RefUnwindSafe,
impl<E, RE, SE> Send for Error<E, RE, SE> where
E: Send,
RE: Send,
SE: Send,
[src]
E: Send,
RE: Send,
SE: Send,
impl<E, RE, SE> Sync for Error<E, RE, SE> where
E: Sync,
RE: Sync,
SE: Sync,
[src]
E: Sync,
RE: Sync,
SE: Sync,
impl<E, RE, SE> Unpin for Error<E, RE, SE> where
E: Unpin,
RE: Unpin,
SE: Unpin,
[src]
E: Unpin,
RE: Unpin,
SE: Unpin,
impl<E, RE, SE> UnwindSafe for Error<E, RE, SE> where
E: UnwindSafe,
RE: UnwindSafe,
SE: UnwindSafe,
[src]
E: UnwindSafe,
RE: UnwindSafe,
SE: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,