Struct RelayConnection
pub struct RelayConnection {
pub key: RelayCacheKey,
pub created_at: Instant,
pub last_used: Instant,
pub alive: bool,
pub capabilities: RelayCapabilities,
}Fields§
§key: RelayCacheKey§created_at: Instant§last_used: Instant§alive: bool§capabilities: RelayCapabilitiesTrait Implementations§
§impl Clone for RelayConnection
impl Clone for RelayConnection
§fn clone(&self) -> RelayConnection
fn clone(&self) -> RelayConnection
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 more§impl Debug for RelayConnection
impl Debug for RelayConnection
§impl PartialEq for RelayConnection
impl PartialEq for RelayConnection
impl Eq for RelayConnection
impl StructuralPartialEq for RelayConnection
Auto Trait Implementations§
impl Freeze for RelayConnection
impl RefUnwindSafe for RelayConnection
impl Send for RelayConnection
impl Sync for RelayConnection
impl Unpin for RelayConnection
impl UnsafeUnpin for RelayConnection
impl UnwindSafe for RelayConnection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.