#[non_exhaustive]#[repr(u8)]pub enum ReceiverType {
Shared = 0,
Mut = 1,
PinMut = 2,
}Expand description
The type of the ‘self’-parameter
Variants (Non-exhaustive)§
This enum is marked as 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.
Trait Implementations§
Source§impl Clone for ReceiverType
impl Clone for ReceiverType
Source§fn clone(&self) -> ReceiverType
fn clone(&self) -> ReceiverType
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 ReceiverType
impl Debug for ReceiverType
Source§impl PartialEq for ReceiverType
impl PartialEq for ReceiverType
impl Copy for ReceiverType
impl StructuralPartialEq for ReceiverType
Auto Trait Implementations§
impl Freeze for ReceiverType
impl RefUnwindSafe for ReceiverType
impl Send for ReceiverType
impl Sync for ReceiverType
impl Unpin for ReceiverType
impl UnwindSafe for ReceiverType
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