pub struct ToController;Trait Implementations§
Source§impl Clone for ToController
impl Clone for ToController
Source§fn clone(&self) -> ToController
fn clone(&self) -> ToController
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 ToController
impl Debug for ToController
Source§impl<UserData> Feature<UserData, Control, Event, ToController, ToWorker> for VpnFeature<UserData>
impl<UserData> Feature<UserData, Control, Event, ToController, ToWorker> for VpnFeature<UserData>
fn on_input( &mut self, _ctx: &FeatureContext, _now_ms: u64, _input: FeatureInput<'_, UserData, Control, ToController>, )
fn on_shutdown(&mut self, _ctx: &FeatureContext, _now: u64)
Source§impl<UserData> FeatureWorker<UserData, Control, Event, ToController, ToWorker> for VpnFeatureWorker<UserData>
impl<UserData> FeatureWorker<UserData, Control, Event, ToController, ToWorker> for VpnFeatureWorker<UserData>
fn on_input( &mut self, ctx: &mut FeatureWorkerContext, _now: u64, input: FeatureWorkerInput<UserData, Control, ToWorker>, )
fn on_shutdown(&mut self, _ctx: &mut FeatureWorkerContext, _now: u64)
fn on_tick( &mut self, _ctx: &mut FeatureWorkerContext, _now: u64, _tick_count: u64, )
fn on_network_raw( &mut self, ctx: &mut FeatureWorkerContext, now: u64, conn: ConnId, _pair: NetPair, header: TransportMsgHeader, buf: Buffer, )
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 ToController
impl RefUnwindSafe for ToController
impl Send for ToController
impl Sync for ToController
impl Unpin for ToController
impl UnwindSafe for ToController
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