pub struct AssembledNode<St, R, F, S>where
S: StorageLayout,{
pub engine: EngineState<S>,
pub state: St,
pub on_event: F,
pub request_endpoints: PhantomData<R>,
}Fields§
§engine: EngineState<S>§state: St§on_event: F§request_endpoints: PhantomData<R>Auto Trait Implementations§
impl<St, R, F, S> Freeze for AssembledNode<St, R, F, S>where
St: Freeze,
F: Freeze,
<S as StorageLayout>::ScheduledAnnounces: Freeze,
<S as StorageLayout>::PacketHashes: Freeze,
<S as StorageLayout>::Channels: Freeze,
<S as StorageLayout>::DirtyInterfaces: Freeze,
<S as StorageLayout>::Routes: Freeze,
<S as StorageLayout>::RouteExpiries: Freeze,
<S as StorageLayout>::Announces: Freeze,
<S as StorageLayout>::History: Freeze,
<S as StorageLayout>::AppData: Freeze,
<S as StorageLayout>::DestinationIdentities: Freeze,
<S as StorageLayout>::DestinationIdentityAppData: Freeze,
<S as StorageLayout>::UpstreamAppDestinations: Freeze,
<S as StorageLayout>::Blackholes: Freeze,
<S as StorageLayout>::HeldIdentities: Freeze,
<S as StorageLayout>::SelfRatchets: Freeze,
<S as StorageLayout>::Receipts: Freeze,
<S as StorageLayout>::ReverseRoutes: Freeze,
<S as StorageLayout>::PendingPathRequests: Freeze,
<S as StorageLayout>::RecentPathRequests: Freeze,
<S as StorageLayout>::SeenPathRequests: Freeze,
<S as StorageLayout>::Tunnels: Freeze,
<S as StorageLayout>::RecursivePathRequests: Freeze,
<S as StorageLayout>::InterfacePathRequestLimits: Freeze,
<S as StorageLayout>::InterfaceAnnounceLimits: Freeze,
<S as StorageLayout>::HeldAnnounces: Freeze,
<S as StorageLayout>::HeldAnnounceAppData: Freeze,
<S as StorageLayout>::DestinationAnnounceLimits: Freeze,
<S as StorageLayout>::GroupKeys: Freeze,
<S as StorageLayout>::RequestHandlers: Freeze,
<S as StorageLayout>::TransportedLinks: Freeze,
<S as StorageLayout>::Links: Freeze,
<S as StorageLayout>::OutgoingResources: Freeze,
<S as StorageLayout>::IncomingResources: Freeze,
<S as StorageLayout>::IncomingAssemblies: Freeze,
<S as StorageLayout>::OutgoingAssemblies: Freeze,
<S as StorageLayout>::DepartedInterfaces: Freeze,
impl<St, R, F, S> RefUnwindSafe for AssembledNode<St, R, F, S>where
St: RefUnwindSafe,
F: RefUnwindSafe,
<S as StorageLayout>::ScheduledAnnounces: RefUnwindSafe,
<S as StorageLayout>::PacketHashes: RefUnwindSafe,
<S as StorageLayout>::Channels: RefUnwindSafe,
<S as StorageLayout>::DirtyInterfaces: RefUnwindSafe,
R: RefUnwindSafe,
<S as StorageLayout>::Routes: RefUnwindSafe,
<S as StorageLayout>::RouteExpiries: RefUnwindSafe,
<S as StorageLayout>::Announces: RefUnwindSafe,
<S as StorageLayout>::History: RefUnwindSafe,
<S as StorageLayout>::AppData: RefUnwindSafe,
<S as StorageLayout>::DestinationIdentities: RefUnwindSafe,
<S as StorageLayout>::DestinationIdentityAppData: RefUnwindSafe,
<S as StorageLayout>::UpstreamAppDestinations: RefUnwindSafe,
<S as StorageLayout>::Blackholes: RefUnwindSafe,
<S as StorageLayout>::HeldIdentities: RefUnwindSafe,
<S as StorageLayout>::SelfRatchets: RefUnwindSafe,
<S as StorageLayout>::Receipts: RefUnwindSafe,
<S as StorageLayout>::ReverseRoutes: RefUnwindSafe,
<S as StorageLayout>::PendingPathRequests: RefUnwindSafe,
<S as StorageLayout>::RecentPathRequests: RefUnwindSafe,
<S as StorageLayout>::SeenPathRequests: RefUnwindSafe,
<S as StorageLayout>::Tunnels: RefUnwindSafe,
<S as StorageLayout>::RecursivePathRequests: RefUnwindSafe,
<S as StorageLayout>::InterfacePathRequestLimits: RefUnwindSafe,
<S as StorageLayout>::InterfaceAnnounceLimits: RefUnwindSafe,
<S as StorageLayout>::HeldAnnounces: RefUnwindSafe,
<S as StorageLayout>::HeldAnnounceAppData: RefUnwindSafe,
<S as StorageLayout>::DestinationAnnounceLimits: RefUnwindSafe,
<S as StorageLayout>::GroupKeys: RefUnwindSafe,
<S as StorageLayout>::RequestHandlers: RefUnwindSafe,
<S as StorageLayout>::TransportedLinks: RefUnwindSafe,
<S as StorageLayout>::Links: RefUnwindSafe,
<S as StorageLayout>::OutgoingResources: RefUnwindSafe,
<S as StorageLayout>::IncomingResources: RefUnwindSafe,
<S as StorageLayout>::IncomingAssemblies: RefUnwindSafe,
<S as StorageLayout>::OutgoingAssemblies: RefUnwindSafe,
<S as StorageLayout>::DepartedInterfaces: RefUnwindSafe,
impl<St, R, F, S> Send for AssembledNode<St, R, F, S>where
St: Send,
F: Send,
<S as StorageLayout>::ScheduledAnnounces: Send,
<S as StorageLayout>::PacketHashes: Send,
<S as StorageLayout>::Channels: Send,
<S as StorageLayout>::DirtyInterfaces: Send,
R: Send,
<S as StorageLayout>::Routes: Send,
<S as StorageLayout>::RouteExpiries: Send,
<S as StorageLayout>::Announces: Send,
<S as StorageLayout>::History: Send,
<S as StorageLayout>::AppData: Send,
<S as StorageLayout>::DestinationIdentities: Send,
<S as StorageLayout>::DestinationIdentityAppData: Send,
<S as StorageLayout>::UpstreamAppDestinations: Send,
<S as StorageLayout>::Blackholes: Send,
<S as StorageLayout>::HeldIdentities: Send,
<S as StorageLayout>::SelfRatchets: Send,
<S as StorageLayout>::Receipts: Send,
<S as StorageLayout>::ReverseRoutes: Send,
<S as StorageLayout>::PendingPathRequests: Send,
<S as StorageLayout>::RecentPathRequests: Send,
<S as StorageLayout>::SeenPathRequests: Send,
<S as StorageLayout>::Tunnels: Send,
<S as StorageLayout>::RecursivePathRequests: Send,
<S as StorageLayout>::InterfacePathRequestLimits: Send,
<S as StorageLayout>::InterfaceAnnounceLimits: Send,
<S as StorageLayout>::HeldAnnounces: Send,
<S as StorageLayout>::HeldAnnounceAppData: Send,
<S as StorageLayout>::DestinationAnnounceLimits: Send,
<S as StorageLayout>::GroupKeys: Send,
<S as StorageLayout>::RequestHandlers: Send,
<S as StorageLayout>::TransportedLinks: Send,
<S as StorageLayout>::Links: Send,
<S as StorageLayout>::OutgoingResources: Send,
<S as StorageLayout>::IncomingResources: Send,
<S as StorageLayout>::IncomingAssemblies: Send,
<S as StorageLayout>::OutgoingAssemblies: Send,
<S as StorageLayout>::DepartedInterfaces: Send,
impl<St, R, F, S> Sync for AssembledNode<St, R, F, S>where
St: Sync,
F: Sync,
<S as StorageLayout>::ScheduledAnnounces: Sync,
<S as StorageLayout>::PacketHashes: Sync,
<S as StorageLayout>::Channels: Sync,
<S as StorageLayout>::DirtyInterfaces: Sync,
R: Sync,
<S as StorageLayout>::Routes: Sync,
<S as StorageLayout>::RouteExpiries: Sync,
<S as StorageLayout>::Announces: Sync,
<S as StorageLayout>::History: Sync,
<S as StorageLayout>::AppData: Sync,
<S as StorageLayout>::DestinationIdentities: Sync,
<S as StorageLayout>::DestinationIdentityAppData: Sync,
<S as StorageLayout>::UpstreamAppDestinations: Sync,
<S as StorageLayout>::Blackholes: Sync,
<S as StorageLayout>::HeldIdentities: Sync,
<S as StorageLayout>::SelfRatchets: Sync,
<S as StorageLayout>::Receipts: Sync,
<S as StorageLayout>::ReverseRoutes: Sync,
<S as StorageLayout>::PendingPathRequests: Sync,
<S as StorageLayout>::RecentPathRequests: Sync,
<S as StorageLayout>::SeenPathRequests: Sync,
<S as StorageLayout>::Tunnels: Sync,
<S as StorageLayout>::RecursivePathRequests: Sync,
<S as StorageLayout>::InterfacePathRequestLimits: Sync,
<S as StorageLayout>::InterfaceAnnounceLimits: Sync,
<S as StorageLayout>::HeldAnnounces: Sync,
<S as StorageLayout>::HeldAnnounceAppData: Sync,
<S as StorageLayout>::DestinationAnnounceLimits: Sync,
<S as StorageLayout>::GroupKeys: Sync,
<S as StorageLayout>::RequestHandlers: Sync,
<S as StorageLayout>::TransportedLinks: Sync,
<S as StorageLayout>::Links: Sync,
<S as StorageLayout>::OutgoingResources: Sync,
<S as StorageLayout>::IncomingResources: Sync,
<S as StorageLayout>::IncomingAssemblies: Sync,
<S as StorageLayout>::OutgoingAssemblies: Sync,
<S as StorageLayout>::DepartedInterfaces: Sync,
impl<St, R, F, S> Unpin for AssembledNode<St, R, F, S>where
St: Unpin,
F: Unpin,
<S as StorageLayout>::ScheduledAnnounces: Unpin,
<S as StorageLayout>::PacketHashes: Unpin,
<S as StorageLayout>::Channels: Unpin,
<S as StorageLayout>::DirtyInterfaces: Unpin,
R: Unpin,
<S as StorageLayout>::Routes: Unpin,
<S as StorageLayout>::RouteExpiries: Unpin,
<S as StorageLayout>::Announces: Unpin,
<S as StorageLayout>::History: Unpin,
<S as StorageLayout>::AppData: Unpin,
<S as StorageLayout>::DestinationIdentities: Unpin,
<S as StorageLayout>::DestinationIdentityAppData: Unpin,
<S as StorageLayout>::UpstreamAppDestinations: Unpin,
<S as StorageLayout>::Blackholes: Unpin,
<S as StorageLayout>::HeldIdentities: Unpin,
<S as StorageLayout>::SelfRatchets: Unpin,
<S as StorageLayout>::Receipts: Unpin,
<S as StorageLayout>::ReverseRoutes: Unpin,
<S as StorageLayout>::PendingPathRequests: Unpin,
<S as StorageLayout>::RecentPathRequests: Unpin,
<S as StorageLayout>::SeenPathRequests: Unpin,
<S as StorageLayout>::Tunnels: Unpin,
<S as StorageLayout>::RecursivePathRequests: Unpin,
<S as StorageLayout>::InterfacePathRequestLimits: Unpin,
<S as StorageLayout>::InterfaceAnnounceLimits: Unpin,
<S as StorageLayout>::HeldAnnounces: Unpin,
<S as StorageLayout>::HeldAnnounceAppData: Unpin,
<S as StorageLayout>::DestinationAnnounceLimits: Unpin,
<S as StorageLayout>::GroupKeys: Unpin,
<S as StorageLayout>::RequestHandlers: Unpin,
<S as StorageLayout>::TransportedLinks: Unpin,
<S as StorageLayout>::Links: Unpin,
<S as StorageLayout>::OutgoingResources: Unpin,
<S as StorageLayout>::IncomingResources: Unpin,
<S as StorageLayout>::IncomingAssemblies: Unpin,
<S as StorageLayout>::OutgoingAssemblies: Unpin,
<S as StorageLayout>::DepartedInterfaces: Unpin,
impl<St, R, F, S> UnsafeUnpin for AssembledNode<St, R, F, S>where
St: UnsafeUnpin,
F: UnsafeUnpin,
<S as StorageLayout>::ScheduledAnnounces: UnsafeUnpin,
<S as StorageLayout>::PacketHashes: UnsafeUnpin,
<S as StorageLayout>::Channels: UnsafeUnpin,
<S as StorageLayout>::DirtyInterfaces: UnsafeUnpin,
<S as StorageLayout>::Routes: UnsafeUnpin,
<S as StorageLayout>::RouteExpiries: UnsafeUnpin,
<S as StorageLayout>::Announces: UnsafeUnpin,
<S as StorageLayout>::History: UnsafeUnpin,
<S as StorageLayout>::AppData: UnsafeUnpin,
<S as StorageLayout>::DestinationIdentities: UnsafeUnpin,
<S as StorageLayout>::DestinationIdentityAppData: UnsafeUnpin,
<S as StorageLayout>::UpstreamAppDestinations: UnsafeUnpin,
<S as StorageLayout>::Blackholes: UnsafeUnpin,
<S as StorageLayout>::HeldIdentities: UnsafeUnpin,
<S as StorageLayout>::SelfRatchets: UnsafeUnpin,
<S as StorageLayout>::Receipts: UnsafeUnpin,
<S as StorageLayout>::ReverseRoutes: UnsafeUnpin,
<S as StorageLayout>::PendingPathRequests: UnsafeUnpin,
<S as StorageLayout>::RecentPathRequests: UnsafeUnpin,
<S as StorageLayout>::SeenPathRequests: UnsafeUnpin,
<S as StorageLayout>::Tunnels: UnsafeUnpin,
<S as StorageLayout>::RecursivePathRequests: UnsafeUnpin,
<S as StorageLayout>::InterfacePathRequestLimits: UnsafeUnpin,
<S as StorageLayout>::InterfaceAnnounceLimits: UnsafeUnpin,
<S as StorageLayout>::HeldAnnounces: UnsafeUnpin,
<S as StorageLayout>::HeldAnnounceAppData: UnsafeUnpin,
<S as StorageLayout>::DestinationAnnounceLimits: UnsafeUnpin,
<S as StorageLayout>::GroupKeys: UnsafeUnpin,
<S as StorageLayout>::RequestHandlers: UnsafeUnpin,
<S as StorageLayout>::TransportedLinks: UnsafeUnpin,
<S as StorageLayout>::Links: UnsafeUnpin,
<S as StorageLayout>::OutgoingResources: UnsafeUnpin,
<S as StorageLayout>::IncomingResources: UnsafeUnpin,
<S as StorageLayout>::IncomingAssemblies: UnsafeUnpin,
<S as StorageLayout>::OutgoingAssemblies: UnsafeUnpin,
<S as StorageLayout>::DepartedInterfaces: UnsafeUnpin,
impl<St, R, F, S> UnwindSafe for AssembledNode<St, R, F, S>where
St: UnwindSafe,
F: UnwindSafe,
<S as StorageLayout>::ScheduledAnnounces: UnwindSafe,
<S as StorageLayout>::PacketHashes: UnwindSafe,
<S as StorageLayout>::Channels: UnwindSafe,
<S as StorageLayout>::DirtyInterfaces: UnwindSafe,
R: UnwindSafe,
<S as StorageLayout>::Routes: UnwindSafe,
<S as StorageLayout>::RouteExpiries: UnwindSafe,
<S as StorageLayout>::Announces: UnwindSafe,
<S as StorageLayout>::History: UnwindSafe,
<S as StorageLayout>::AppData: UnwindSafe,
<S as StorageLayout>::DestinationIdentities: UnwindSafe,
<S as StorageLayout>::DestinationIdentityAppData: UnwindSafe,
<S as StorageLayout>::UpstreamAppDestinations: UnwindSafe,
<S as StorageLayout>::Blackholes: UnwindSafe,
<S as StorageLayout>::HeldIdentities: UnwindSafe,
<S as StorageLayout>::SelfRatchets: UnwindSafe,
<S as StorageLayout>::Receipts: UnwindSafe,
<S as StorageLayout>::ReverseRoutes: UnwindSafe,
<S as StorageLayout>::PendingPathRequests: UnwindSafe,
<S as StorageLayout>::RecentPathRequests: UnwindSafe,
<S as StorageLayout>::SeenPathRequests: UnwindSafe,
<S as StorageLayout>::Tunnels: UnwindSafe,
<S as StorageLayout>::RecursivePathRequests: UnwindSafe,
<S as StorageLayout>::InterfacePathRequestLimits: UnwindSafe,
<S as StorageLayout>::InterfaceAnnounceLimits: UnwindSafe,
<S as StorageLayout>::HeldAnnounces: UnwindSafe,
<S as StorageLayout>::HeldAnnounceAppData: UnwindSafe,
<S as StorageLayout>::DestinationAnnounceLimits: UnwindSafe,
<S as StorageLayout>::GroupKeys: UnwindSafe,
<S as StorageLayout>::RequestHandlers: UnwindSafe,
<S as StorageLayout>::TransportedLinks: UnwindSafe,
<S as StorageLayout>::Links: UnwindSafe,
<S as StorageLayout>::OutgoingResources: UnwindSafe,
<S as StorageLayout>::IncomingResources: UnwindSafe,
<S as StorageLayout>::IncomingAssemblies: UnwindSafe,
<S as StorageLayout>::OutgoingAssemblies: UnwindSafe,
<S as StorageLayout>::DepartedInterfaces: UnwindSafe,
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