#[repr(u8)]pub enum Features {
Neighbours = 0,
Data = 1,
RouterSync = 2,
Vpn = 3,
DhtKv = 4,
PubSub = 5,
Alias = 6,
Socket = 7,
}Expand description
FeatureManager need wrap child features in a struct to manage them This is a helper struct to help FeatureManager to manage the features
Variants§
Trait Implementations§
Source§impl TryFromPrimitive for Features
impl TryFromPrimitive for Features
impl Copy for Features
impl Eq for Features
impl StructuralPartialEq for Features
Auto Trait Implementations§
impl Freeze for Features
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
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