pub struct ConnectionAddress {
pub ip: IpAddr,
pub ttl: Option<u8>,
pub count: Option<u8>,
}Expand description
A parsed SDP connection address (RFC 8866
Section 5.7), see
Connection::try_address.
Fields§
§ip: IpAddrThe address itself.
ttl: Option<u8>The IPv4 multicast time-to-live, only present for “IP4”.
count: Option<u8>The number of subsequent group addresses of layered/multigroup multicast sessions.
Trait Implementations§
Source§impl Clone for ConnectionAddress
impl Clone for ConnectionAddress
impl Copy for ConnectionAddress
Source§impl Debug for ConnectionAddress
impl Debug for ConnectionAddress
impl Eq for ConnectionAddress
Source§impl PartialEq for ConnectionAddress
impl PartialEq for ConnectionAddress
impl StructuralPartialEq for ConnectionAddress
Auto Trait Implementations§
impl Freeze for ConnectionAddress
impl RefUnwindSafe for ConnectionAddress
impl Send for ConnectionAddress
impl Sync for ConnectionAddress
impl Unpin for ConnectionAddress
impl UnsafeUnpin for ConnectionAddress
impl UnwindSafe for ConnectionAddress
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