pub struct AgentSocket {
pub stream_id: usize,
pub component_id: usize,
pub transport: TransportType,
pub from: SocketAddr,
pub to: SocketAddr,
}Expand description
A socket with the specified network 5-tuple.
Fields§
§stream_id: usizeThe ICE stream id within the agent.
component_id: usizeThe ICE component id within the stream.
transport: TransportTypeThe transport for the socket.
from: SocketAddrThe source address of the socket.
to: SocketAddrThe destination address of the socket.
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 UnsafeUnpin 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