pub enum FeaturesToController {
Neighbours(ToController),
Data(ToController),
RouterSync(()),
Vpn(ToController),
DhtKv(ToController),
PubSub(ToController),
Alias(ToController),
Socket(ToController),
}Variants§
Neighbours(ToController)
Data(ToController)
RouterSync(())
Vpn(ToController)
DhtKv(ToController)
PubSub(ToController)
Alias(ToController)
Socket(ToController)
Implementations§
Source§impl FeaturesToController
impl FeaturesToController
pub fn to_feature(&self) -> Features
Trait Implementations§
Source§impl Clone for FeaturesToController
impl Clone for FeaturesToController
Source§fn clone(&self) -> FeaturesToController
fn clone(&self) -> FeaturesToController
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 FeaturesToController
impl Debug for FeaturesToController
Source§impl From<()> for FeaturesToController
impl From<()> for FeaturesToController
Source§fn from(val: ()) -> FeaturesToController
fn from(val: ()) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Source§impl From<ToController> for FeaturesToController
impl From<ToController> for FeaturesToController
Source§fn from(val: ToController) -> FeaturesToController
fn from(val: ToController) -> FeaturesToController
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FeaturesToController
impl RefUnwindSafe for FeaturesToController
impl Send for FeaturesToController
impl Sync for FeaturesToController
impl Unpin for FeaturesToController
impl UnwindSafe for FeaturesToController
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