pub struct ConnectionIncarnation {
pub server_incarnation: u64,
pub connection_ordinal: u64,
}Expand description
Server and connection identity for one accepted connection incarnation.
Fields§
§server_incarnation: u64Durable server incarnation.
connection_ordinal: u64Connection ordinal within that server incarnation.
Implementations§
Trait Implementations§
Source§impl Clone for ConnectionIncarnation
impl Clone for ConnectionIncarnation
Source§fn clone(&self) -> ConnectionIncarnation
fn clone(&self) -> ConnectionIncarnation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConnectionIncarnation
Source§impl Debug for ConnectionIncarnation
impl Debug for ConnectionIncarnation
impl Eq for ConnectionIncarnation
Source§impl Hash for ConnectionIncarnation
impl Hash for ConnectionIncarnation
Source§impl Ord for ConnectionIncarnation
impl Ord for ConnectionIncarnation
Source§fn cmp(&self, other: &ConnectionIncarnation) -> Ordering
fn cmp(&self, other: &ConnectionIncarnation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConnectionIncarnation
impl PartialEq for ConnectionIncarnation
Source§impl PartialOrd for ConnectionIncarnation
impl PartialOrd for ConnectionIncarnation
impl StructuralPartialEq for ConnectionIncarnation
Auto Trait Implementations§
impl Freeze for ConnectionIncarnation
impl RefUnwindSafe for ConnectionIncarnation
impl Send for ConnectionIncarnation
impl Sync for ConnectionIncarnation
impl Unpin for ConnectionIncarnation
impl UnsafeUnpin for ConnectionIncarnation
impl UnwindSafe for ConnectionIncarnation
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