pub struct AgentSocket {
pub stream_id: usize,
pub component_id: usize,
pub transport: TransportType,
pub from: Address,
pub to: Address,
}Expand description
A socket with the specified network 5-tuple.
Fields§
§stream_id: usizeThe ICE stream id.
component_id: usizeThe ICE component id.
transport: TransportTypeThe transport.
from: AddressThe socket source address.
to: AddressThe socket destination address.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentSocket
impl RefUnwindSafe for AgentSocket
impl Send for AgentSocket
impl Sync for AgentSocket
impl Unpin for AgentSocket
impl UnwindSafe for AgentSocket
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