#[repr(u32)]pub enum AddSrcType {
Server = 1,
Peer = 2,
Pool = 3,
}Variants§
Trait Implementations§
Source§impl Clone for AddSrcType
impl Clone for AddSrcType
Source§fn clone(&self) -> AddSrcType
fn clone(&self) -> AddSrcType
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 AddSrcType
impl Debug for AddSrcType
Source§impl From<AddSrcType> for u32
impl From<AddSrcType> for u32
Source§fn from(enum_value: AddSrcType) -> Self
fn from(enum_value: AddSrcType) -> Self
Converts to this type from the input type.
Source§impl Hash for AddSrcType
impl Hash for AddSrcType
Source§impl Ord for AddSrcType
impl Ord for AddSrcType
Source§fn cmp(&self, other: &AddSrcType) -> Ordering
fn cmp(&self, other: &AddSrcType) -> 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 AddSrcType
impl PartialEq for AddSrcType
Source§impl PartialOrd for AddSrcType
impl PartialOrd for AddSrcType
Source§impl TryFrom<u32> for AddSrcType
impl TryFrom<u32> for AddSrcType
Source§type Error = TryFromPrimitiveError<AddSrcType>
type Error = TryFromPrimitiveError<AddSrcType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AddSrcType
impl TryFromPrimitive for AddSrcType
impl Copy for AddSrcType
impl Eq for AddSrcType
impl StructuralPartialEq for AddSrcType
Auto Trait Implementations§
impl Freeze for AddSrcType
impl RefUnwindSafe for AddSrcType
impl Send for AddSrcType
impl Sync for AddSrcType
impl Unpin for AddSrcType
impl UnwindSafe for AddSrcType
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