pub struct HistoricKey {
pub key: ConnectionKey,
pub created_nanos: u128,
}Expand description
Identity of an archived (closed) connection: the flow key plus the
connection’s creation time, so multiple closed connections that reused the
same 4-tuple don’t clobber each other. (Replaces the former
"<key>:<created_at_nanos>" string suffix.)
Fields§
§key: ConnectionKey§created_nanos: u128Trait Implementations§
Source§impl Clone for HistoricKey
impl Clone for HistoricKey
Source§fn clone(&self) -> HistoricKey
fn clone(&self) -> HistoricKey
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 HistoricKey
Source§impl Debug for HistoricKey
impl Debug for HistoricKey
Source§impl Display for HistoricKey
impl Display for HistoricKey
impl Eq for HistoricKey
Source§impl Hash for HistoricKey
impl Hash for HistoricKey
Source§impl PartialEq for HistoricKey
impl PartialEq for HistoricKey
impl StructuralPartialEq for HistoricKey
Auto Trait Implementations§
impl Freeze for HistoricKey
impl RefUnwindSafe for HistoricKey
impl Send for HistoricKey
impl Sync for HistoricKey
impl Unpin for HistoricKey
impl UnsafeUnpin for HistoricKey
impl UnwindSafe for HistoricKey
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