pub struct RelayInfo {
pub relay_id: KeyId,
pub relay_address: RelayAddress,
}Expand description
Connection information for a relay server
Stores the full RelayAddress configuration so we can attempt reconnection to all available addresses, not just the last successful one.
Fields§
§relay_id: KeyId§relay_address: RelayAddressTrait Implementations§
Auto Trait Implementations§
impl Freeze for RelayInfo
impl RefUnwindSafe for RelayInfo
impl Send for RelayInfo
impl Sync for RelayInfo
impl Unpin for RelayInfo
impl UnwindSafe for RelayInfo
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