pub struct ModuleEndpointId {
pub connection_id: ConnectionId,
pub generation: u64,
}Expand description
Module connection identity used in forwarding keys.
The generation is bumped every time a module connection is registered so a future restart cannot
accidentally reuse a stale (connection_id, route_channel) binding.
Fields§
§connection_id: ConnectionId§generation: u64Trait Implementations§
Source§impl Clone for ModuleEndpointId
impl Clone for ModuleEndpointId
impl Copy for ModuleEndpointId
Source§impl Debug for ModuleEndpointId
impl Debug for ModuleEndpointId
impl Eq for ModuleEndpointId
Source§impl Hash for ModuleEndpointId
impl Hash for ModuleEndpointId
Source§impl PartialEq for ModuleEndpointId
impl PartialEq for ModuleEndpointId
impl StructuralPartialEq for ModuleEndpointId
Auto Trait Implementations§
impl Freeze for ModuleEndpointId
impl RefUnwindSafe for ModuleEndpointId
impl Send for ModuleEndpointId
impl Sync for ModuleEndpointId
impl Unpin for ModuleEndpointId
impl UnsafeUnpin for ModuleEndpointId
impl UnwindSafe for ModuleEndpointId
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