pub enum AdvertisedInterfaceType {
Backbone,
TcpServer,
TcpClient,
I2p,
RNode,
Weave,
Kiss,
}Variants§
Implementations§
Source§impl AdvertisedInterfaceType
impl AdvertisedInterfaceType
pub const fn rns_name(self) -> &'static str
pub fn from_rns_name(name: &str) -> Option<AdvertisedInterfaceType>
Trait Implementations§
Source§impl Clone for AdvertisedInterfaceType
impl Clone for AdvertisedInterfaceType
Source§fn clone(&self) -> AdvertisedInterfaceType
fn clone(&self) -> AdvertisedInterfaceType
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 AdvertisedInterfaceType
Source§impl Debug for AdvertisedInterfaceType
impl Debug for AdvertisedInterfaceType
impl Eq for AdvertisedInterfaceType
Source§impl Ord for AdvertisedInterfaceType
impl Ord for AdvertisedInterfaceType
Source§fn cmp(&self, other: &AdvertisedInterfaceType) -> Ordering
fn cmp(&self, other: &AdvertisedInterfaceType) -> Ordering
1.21.0 (const: unstable) · 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 AdvertisedInterfaceType
impl PartialEq for AdvertisedInterfaceType
Source§impl PartialOrd for AdvertisedInterfaceType
impl PartialOrd for AdvertisedInterfaceType
impl StructuralPartialEq for AdvertisedInterfaceType
Auto Trait Implementations§
impl Freeze for AdvertisedInterfaceType
impl RefUnwindSafe for AdvertisedInterfaceType
impl Send for AdvertisedInterfaceType
impl Sync for AdvertisedInterfaceType
impl Unpin for AdvertisedInterfaceType
impl UnsafeUnpin for AdvertisedInterfaceType
impl UnwindSafe for AdvertisedInterfaceType
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