pub enum UnrecoverableWaitError {
ZeroDuration,
WaitAfterReply,
}
Expand description
Wait error in infallible sys-call.
Variants§
ZeroDuration
An error occurs in attempt to wait for or wait up to zero blocks.
WaitAfterReply
An error occurs in attempt to wait after reply sent.
Trait Implementations§
Source§impl Clone for UnrecoverableWaitError
impl Clone for UnrecoverableWaitError
Source§fn clone(&self) -> UnrecoverableWaitError
fn clone(&self) -> UnrecoverableWaitError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnrecoverableWaitError
impl Debug for UnrecoverableWaitError
Source§impl Decode for UnrecoverableWaitError
impl Decode for UnrecoverableWaitError
Source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<Self, Error>
Attempt to deserialise the value from input.
Source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
Source§impl Display for UnrecoverableWaitError
impl Display for UnrecoverableWaitError
Source§impl Encode for UnrecoverableWaitError
impl Encode for UnrecoverableWaitError
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
Source§impl From<UnrecoverableWaitError> for UnrecoverableExtError
impl From<UnrecoverableWaitError> for UnrecoverableExtError
Source§fn from(original: UnrecoverableWaitError) -> UnrecoverableExtError
fn from(original: UnrecoverableWaitError) -> UnrecoverableExtError
Converts to this type from the input type.
Source§impl Ord for UnrecoverableWaitError
impl Ord for UnrecoverableWaitError
Source§fn cmp(&self, other: &UnrecoverableWaitError) -> Ordering
fn cmp(&self, other: &UnrecoverableWaitError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnrecoverableWaitError
impl PartialEq for UnrecoverableWaitError
Source§impl PartialOrd for UnrecoverableWaitError
impl PartialOrd for UnrecoverableWaitError
impl EncodeLike for UnrecoverableWaitError
impl Eq for UnrecoverableWaitError
impl StructuralPartialEq for UnrecoverableWaitError
Auto Trait Implementations§
impl Freeze for UnrecoverableWaitError
impl RefUnwindSafe for UnrecoverableWaitError
impl Send for UnrecoverableWaitError
impl Sync for UnrecoverableWaitError
impl Unpin for UnrecoverableWaitError
impl UnwindSafe for UnrecoverableWaitError
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