pub enum CheckpointError<TransportError> {
TransportError(TransportError),
Failed {
reason: String,
},
InvalidState {
message: Message,
},
}Variants§
Trait Implementations§
Source§impl<TransportError: Debug> Debug for CheckpointError<TransportError>
impl<TransportError: Debug> Debug for CheckpointError<TransportError>
Source§impl<TransportError> Display for CheckpointError<TransportError>where
TransportError: Display,
impl<TransportError> Display for CheckpointError<TransportError>where
TransportError: Display,
Source§impl<TransportError> Error for CheckpointError<TransportError>
impl<TransportError> Error for CheckpointError<TransportError>
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<TransportError> Freeze for CheckpointError<TransportError>where
TransportError: Freeze,
impl<TransportError> RefUnwindSafe for CheckpointError<TransportError>where
TransportError: RefUnwindSafe,
impl<TransportError> Send for CheckpointError<TransportError>where
TransportError: Send,
impl<TransportError> Sync for CheckpointError<TransportError>where
TransportError: Sync,
impl<TransportError> Unpin for CheckpointError<TransportError>where
TransportError: Unpin,
impl<TransportError> UnsafeUnpin for CheckpointError<TransportError>where
TransportError: UnsafeUnpin,
impl<TransportError> UnwindSafe for CheckpointError<TransportError>where
TransportError: UnwindSafe,
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