#[repr(u8)]pub enum SuccessReplyReason {
Auto = 0,
Manual = 1,
Unsupported = 255,
}
Expand description
Reason of success reply creation.
Variants§
Auto = 0
Success reply was created by system automatically.
Manual = 1
Success reply was created by actor manually.
Unsupported = 255
Unsupported reason of success reply. Variant exists for backward compatibility.
Trait Implementations§
Source§impl Clone for SuccessReplyReason
impl Clone for SuccessReplyReason
Source§fn clone(&self) -> SuccessReplyReason
fn clone(&self) -> SuccessReplyReason
Returns a copy 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 SuccessReplyReason
impl Debug for SuccessReplyReason
Source§impl Decode for SuccessReplyReason
impl Decode for SuccessReplyReason
Source§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<SuccessReplyReason, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<SuccessReplyReason, Error>where
__CodecInputEdqy: Input,
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 Default for SuccessReplyReason
impl Default for SuccessReplyReason
Source§fn default() -> SuccessReplyReason
fn default() -> SuccessReplyReason
Returns the “default value” for a type. Read more
Source§impl Display for SuccessReplyReason
impl Display for SuccessReplyReason
Source§impl Encode for SuccessReplyReason
impl Encode for SuccessReplyReason
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>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy>( &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<SuccessReplyReason> for ReplyCode
impl From<SuccessReplyReason> for ReplyCode
Source§fn from(original: SuccessReplyReason) -> ReplyCode
fn from(original: SuccessReplyReason) -> ReplyCode
Converts to this type from the input type.
Source§impl Hash for SuccessReplyReason
impl Hash for SuccessReplyReason
Source§impl Ord for SuccessReplyReason
impl Ord for SuccessReplyReason
Source§fn cmp(&self, other: &SuccessReplyReason) -> Ordering
fn cmp(&self, other: &SuccessReplyReason) -> 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 SuccessReplyReason
impl PartialEq for SuccessReplyReason
Source§impl PartialOrd for SuccessReplyReason
impl PartialOrd for SuccessReplyReason
Source§impl Sequence for SuccessReplyReason
impl Sequence for SuccessReplyReason
Source§const CARDINALITY: usize = 3usize
const CARDINALITY: usize = 3usize
Number of values of type
Self
. Read moreSource§fn next(&self) -> Option<SuccessReplyReason>
fn next(&self) -> Option<SuccessReplyReason>
Source§fn previous(&self) -> Option<SuccessReplyReason>
fn previous(&self) -> Option<SuccessReplyReason>
Source§impl TypeInfo for SuccessReplyReason
impl TypeInfo for SuccessReplyReason
impl Copy for SuccessReplyReason
impl EncodeLike for SuccessReplyReason
impl Eq for SuccessReplyReason
impl StructuralPartialEq for SuccessReplyReason
Auto Trait Implementations§
impl Freeze for SuccessReplyReason
impl RefUnwindSafe for SuccessReplyReason
impl Send for SuccessReplyReason
impl Sync for SuccessReplyReason
impl Unpin for SuccessReplyReason
impl UnwindSafe for SuccessReplyReason
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