pub enum FeaturesEvent {
Neighbours(Event),
Data(Event),
RouterSync(Event),
Vpn(Event),
DhtKv(Event),
PubSub(Event),
Alias(Event),
Socket(Event),
}Variants§
Neighbours(Event)
Data(Event)
RouterSync(Event)
Vpn(Event)
DhtKv(Event)
PubSub(Event)
Alias(Event)
Socket(Event)
Trait Implementations§
Source§impl Clone for FeaturesEvent
impl Clone for FeaturesEvent
Source§fn clone(&self) -> FeaturesEvent
fn clone(&self) -> FeaturesEvent
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 FeaturesEvent
impl Debug for FeaturesEvent
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl From<Event> for FeaturesEvent
impl From<Event> for FeaturesEvent
Source§fn from(val: Event) -> FeaturesEvent
fn from(val: Event) -> FeaturesEvent
Converts to this type from the input type.
Source§impl PartialEq for FeaturesEvent
impl PartialEq for FeaturesEvent
Source§impl<UserData, SC, SE, TC, TW> Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for Manual2DiscoveryService<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for Manual2DiscoveryService<UserData, SC, SE, TC, TW>
fn is_service_empty(&self) -> bool
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn on_input( &mut self, _ctx: &ServiceCtx, _now: u64, input: ServiceInput<UserData, FeaturesEvent, SC, TC>, )
fn on_shutdown(&mut self, _ctx: &ServiceCtx, _now: u64)
fn pop_output2( &mut self, _now: u64, ) -> Option<ServiceOutput<UserData, FeaturesControl, SE, TW>>
Source§impl<UserData, SC, SE, TC, TW> Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for ManualDiscoveryService<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for ManualDiscoveryService<UserData, SC, SE, TC, TW>
fn is_service_empty(&self) -> bool
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn on_input( &mut self, _ctx: &ServiceCtx, now: u64, input: ServiceInput<UserData, FeaturesEvent, SC, TC>, )
fn on_shutdown(&mut self, _ctx: &ServiceCtx, _now: u64)
fn pop_output2( &mut self, _now: u64, ) -> Option<ServiceOutput<UserData, FeaturesControl, SE, TW>>
Source§impl<UserData, SC, SE, TC, TW, Info> Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for VisualizationService<UserData, SC, SE, TC, TW, Info>
impl<UserData, SC, SE, TC, TW, Info> Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for VisualizationService<UserData, SC, SE, TC, TW, Info>
fn is_service_empty(&self) -> bool
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn on_input( &mut self, _ctx: &ServiceCtx, now: u64, input: ServiceInput<UserData, FeaturesEvent, SC, TC>, )
fn on_shutdown(&mut self, _ctx: &ServiceCtx, _now: u64)
fn pop_output2( &mut self, _now: u64, ) -> Option<ServiceOutput<UserData, FeaturesControl, SE, TW>>
Source§impl<UserData, SC, SE, TC, TW> ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for Manual2DiscoveryServiceBuilder<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for Manual2DiscoveryServiceBuilder<UserData, SC, SE, TC, TW>
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn create( &self, ) -> Box<dyn Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>
fn create_worker( &self, ) -> Box<dyn ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>
fn discoverable(&self) -> bool
Source§impl<UserData, SC, SE, TC, TW> ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for ManualDiscoveryServiceBuilder<UserData, SC, SE, TC, TW>
impl<UserData, SC, SE, TC, TW> ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for ManualDiscoveryServiceBuilder<UserData, SC, SE, TC, TW>
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn create( &self, ) -> Box<dyn Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>
fn create_worker( &self, ) -> Box<dyn ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>
fn discoverable(&self) -> bool
Source§impl<UserData, SC, SE, TC, TW, Info> ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for VisualizationServiceBuilder<UserData, SC, SE, TC, TW, Info>where
UserData: 'static + Debug + Send + Sync + Copy + Eq,
Info: 'static + Debug + Serialize + DeserializeOwned + Clone + Send + Sync,
SC: 'static + Debug + Send + Sync + From<Control<Info>> + TryInto<Control<Info>>,
SE: 'static + Debug + Send + Sync + From<Event<Info>> + TryInto<Event<Info>>,
TC: 'static + Debug + Send + Sync,
TW: 'static + Debug + Send + Sync,
impl<UserData, SC, SE, TC, TW, Info> ServiceBuilder<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for VisualizationServiceBuilder<UserData, SC, SE, TC, TW, Info>where
UserData: 'static + Debug + Send + Sync + Copy + Eq,
Info: 'static + Debug + Serialize + DeserializeOwned + Clone + Send + Sync,
SC: 'static + Debug + Send + Sync + From<Control<Info>> + TryInto<Control<Info>>,
SE: 'static + Debug + Send + Sync + From<Event<Info>> + TryInto<Event<Info>>,
TC: 'static + Debug + Send + Sync,
TW: 'static + Debug + Send + Sync,
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn discoverable(&self) -> bool
fn create( &self, ) -> Box<dyn Service<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>
fn create_worker( &self, ) -> Box<dyn ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW>>
Source§impl<UserData, SC, SE, TC, TW> ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for Manual2DiscoveryServiceWorker<UserData, SC, SE, TC>
impl<UserData, SC, SE, TC, TW> ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for Manual2DiscoveryServiceWorker<UserData, SC, SE, TC>
fn is_service_empty(&self) -> bool
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn on_tick(&mut self, _ctx: &ServiceWorkerCtx, _now: u64, _tick_count: u64)
fn on_input( &mut self, _ctx: &ServiceWorkerCtx, _now: u64, input: ServiceWorkerInput<UserData, FeaturesEvent, SC, TW>, )
fn on_shutdown(&mut self, _ctx: &ServiceWorkerCtx, _now: u64)
fn pop_output2( &mut self, _now: u64, ) -> Option<ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC>>
Source§impl<UserData, SC, SE, TC, TW> ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for ManualDiscoveryServiceWorker<UserData, SC, SE, TC>
impl<UserData, SC, SE, TC, TW> ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for ManualDiscoveryServiceWorker<UserData, SC, SE, TC>
fn is_service_empty(&self) -> bool
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn on_tick(&mut self, _ctx: &ServiceWorkerCtx, _now: u64, _tick_count: u64)
fn on_input( &mut self, _ctx: &ServiceWorkerCtx, _now: u64, input: ServiceWorkerInput<UserData, FeaturesEvent, SC, TW>, )
fn on_shutdown(&mut self, _ctx: &ServiceWorkerCtx, _now: u64)
fn pop_output2( &mut self, _now: u64, ) -> Option<ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC>>
Source§impl<UserData, SC, SE, TC, TW> ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for VisualizationServiceWorker<UserData, SC, SE, TC>
impl<UserData, SC, SE, TC, TW> ServiceWorker<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC, TW> for VisualizationServiceWorker<UserData, SC, SE, TC>
fn is_service_empty(&self) -> bool
fn service_id(&self) -> u8
fn service_name(&self) -> &str
fn on_tick(&mut self, _ctx: &ServiceWorkerCtx, _now: u64, _tick_count: u64)
fn on_input( &mut self, _ctx: &ServiceWorkerCtx, _now: u64, input: ServiceWorkerInput<UserData, FeaturesEvent, SC, TW>, )
fn pop_output2( &mut self, _now: u64, ) -> Option<ServiceWorkerOutput<UserData, FeaturesControl, FeaturesEvent, SC, SE, TC>>
fn on_shutdown(&mut self, _ctx: &ServiceWorkerCtx, _now: u64)
impl Eq for FeaturesEvent
impl StructuralPartialEq for FeaturesEvent
Auto Trait Implementations§
impl Freeze for FeaturesEvent
impl RefUnwindSafe for FeaturesEvent
impl Send for FeaturesEvent
impl Sync for FeaturesEvent
impl Unpin for FeaturesEvent
impl UnwindSafe for FeaturesEvent
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