#[repr(u8)]pub enum NaScheme {
Https = 0,
Http = 1,
Ftp = 2,
Sftp = 3,
Ssh = 4,
Ntp = 5,
Smtp = 6,
Ws = 7,
Wss = 8,
}Expand description
Scheme identifier for VsfType::na (network address).
The scheme occupies one byte on the wire. Values 0–8 are assigned by the VSF spec; values 9–255 are reserved.
Variants§
Implementations§
Trait Implementations§
impl Copy for NaScheme
impl Eq for NaScheme
impl StructuralPartialEq for NaScheme
Auto Trait Implementations§
impl Freeze for NaScheme
impl RefUnwindSafe for NaScheme
impl Send for NaScheme
impl Sync for NaScheme
impl Unpin for NaScheme
impl UnsafeUnpin for NaScheme
impl UnwindSafe for NaScheme
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