pub enum MessageMethod {
Unknown = 0,
Packet = 1,
Resource = 2,
Paper = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MessageMethod
impl Clone for MessageMethod
Source§fn clone(&self) -> MessageMethod
fn clone(&self) -> MessageMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageMethod
Source§impl Debug for MessageMethod
impl Debug for MessageMethod
impl Eq for MessageMethod
Source§impl PartialEq for MessageMethod
impl PartialEq for MessageMethod
Source§fn eq(&self, other: &MessageMethod) -> bool
fn eq(&self, other: &MessageMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageMethod
Auto Trait Implementations§
impl Freeze for MessageMethod
impl RefUnwindSafe for MessageMethod
impl Send for MessageMethod
impl Sync for MessageMethod
impl Unpin for MessageMethod
impl UnsafeUnpin for MessageMethod
impl UnwindSafe for MessageMethod
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