pub struct RelayConnection {
pub manager: Arc<MessagesManager>,
pub connection_state: ConnectionState,
pub last_seen: SystemTime,
pub subscription_state: SubscriptionState,
}Expand description
Represents a connection to a single relay with its associated managers
Fields§
§manager: Arc<MessagesManager>The messages manager for this relay
connection_state: ConnectionStateConnection state tracking
last_seen: SystemTimeWhen this relay was last seen as active
subscription_state: SubscriptionStateRelay-specific subscription state
Auto Trait Implementations§
impl Freeze for RelayConnection
impl !RefUnwindSafe for RelayConnection
impl Send for RelayConnection
impl Sync for RelayConnection
impl Unpin for RelayConnection
impl !UnwindSafe for RelayConnection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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