pub struct ConnectionMachine { /* private fields */ }Expand description
Deterministic single-owner policy for one exact connection epoch.
Implementations§
Source§impl ConnectionMachine
impl ConnectionMachine
Sourcepub const fn epoch(&self) -> ConnectionEpoch
pub const fn epoch(&self) -> ConnectionEpoch
Returns the exact epoch owned by this machine.
Sourcepub const fn matching(&self) -> &OrderedVerified
pub const fn matching(&self) -> &OrderedVerified
Returns immutable state for the configured matching discipline.
Source§impl ConnectionMachine
impl ConnectionMachine
Sourcepub fn snapshot(&self) -> ConnectionSnapshot
pub fn snapshot(&self) -> ConnectionSnapshot
Returns an immutable observation snapshot.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionMachine
impl !Send for ConnectionMachine
impl !Sync for ConnectionMachine
impl !UnwindSafe for ConnectionMachine
impl Freeze for ConnectionMachine
impl Unpin for ConnectionMachine
impl UnsafeUnpin for ConnectionMachine
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