pub struct SelectedRelay {
pub room_id: u64,
pub room_key: u64,
pub own_member: u16,
pub connection_id: u16,
pub endpoint: SocketAddrV4,
pub media_key: Zeroizing<[u8; 32]>,
pub merge_mode: bool,
}Expand description
An endpoint selected from an admitted Strategy. No DNS or fallback is used. Room key and media material intentionally have no Debug representation.
Fields§
§room_id: u64§room_key: u64§own_member: u16§connection_id: u16§endpoint: SocketAddrV4§media_key: Zeroizing<[u8; 32]>§merge_mode: boolImplementations§
Source§impl SelectedRelay
impl SelectedRelay
Auto Trait Implementations§
impl Freeze for SelectedRelay
impl RefUnwindSafe for SelectedRelay
impl Send for SelectedRelay
impl Sync for SelectedRelay
impl Unpin for SelectedRelay
impl UnsafeUnpin for SelectedRelay
impl UnwindSafe for SelectedRelay
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