#[repr(u8)]pub enum Discovery {
Private = 0,
Unlisted = 1,
Listed = 2,
}Expand description
discovery (field 17).
Variants§
Private = 0
0x00: invitation only.
Unlisted = 1
0x01: reachable by link.
Listed = 2
0x02: may be submitted to directories.
Trait Implementations§
impl Copy for Discovery
impl Eq for Discovery
impl StructuralPartialEq for Discovery
Auto Trait Implementations§
impl Freeze for Discovery
impl RefUnwindSafe for Discovery
impl Send for Discovery
impl Sync for Discovery
impl Unpin for Discovery
impl UnsafeUnpin for Discovery
impl UnwindSafe for Discovery
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