pub struct MediaPath {
pub local_addr: SocketAddr,
pub peer_addr: SocketAddr,
pub transport_protocol: TransportProtocol,
}Expand description
The addresses and transport data is sent on and accepted from. See Agent::media_path.
Fields§
§local_addr: SocketAddrThe bound local address (a candidate’s base).
peer_addr: SocketAddrThe remote candidate’s address.
transport_protocol: TransportProtocolUDP or TCP.
Trait Implementations§
impl Copy for MediaPath
impl Eq for MediaPath
impl StructuralPartialEq for MediaPath
Auto Trait Implementations§
impl Forget for MediaPath
impl Freeze for MediaPath
impl Move for MediaPath
impl RefUnwindSafe for MediaPath
impl Send for MediaPath
impl Sync for MediaPath
impl Unpin for MediaPath
impl UnsafeUnpin for MediaPath
impl UnwindSafe for MediaPath
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