pub enum TransportMethod {
Opportunistic = 1,
Direct = 2,
Propagated = 3,
Paper = 5,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TransportMethod
impl Clone for TransportMethod
Source§fn clone(&self) -> TransportMethod
fn clone(&self) -> TransportMethod
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 TransportMethod
impl Debug for TransportMethod
Source§impl PartialEq for TransportMethod
impl PartialEq for TransportMethod
Source§impl TryFrom<u8> for TransportMethod
impl TryFrom<u8> for TransportMethod
impl Copy for TransportMethod
impl Eq for TransportMethod
impl StructuralPartialEq for TransportMethod
Auto Trait Implementations§
impl Freeze for TransportMethod
impl RefUnwindSafe for TransportMethod
impl Send for TransportMethod
impl Sync for TransportMethod
impl Unpin for TransportMethod
impl UnsafeUnpin for TransportMethod
impl UnwindSafe for TransportMethod
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