pub struct ActiveRelaySlot {
pub relay_addr: PeerAddr,
pub slot_id: u64,
pub expires_at: u64,
}Expand description
Tracks an active relay registration for a firewalled node.
Fields§
§relay_addr: PeerAddrThe relay node we registered on.
slot_id: u64The slot ID assigned by the relay.
expires_at: u64When the slot expires (unix secs).
Trait Implementations§
Source§impl Clone for ActiveRelaySlot
impl Clone for ActiveRelaySlot
Source§fn clone(&self) -> ActiveRelaySlot
fn clone(&self) -> ActiveRelaySlot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ActiveRelaySlot
impl RefUnwindSafe for ActiveRelaySlot
impl Send for ActiveRelaySlot
impl Sync for ActiveRelaySlot
impl Unpin for ActiveRelaySlot
impl UnsafeUnpin for ActiveRelaySlot
impl UnwindSafe for ActiveRelaySlot
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