pub struct SdpConnection {
pub addr_type: String,
pub address: IpAddr,
pub ttl: Option<u8>,
pub port: Option<u16>,
}Fields§
§addr_type: String§address: IpAddr§ttl: Option<u8>§port: Option<u16>RTP port advertised by the SDP m= line (multicast).
Implementations§
Source§impl SdpConnection
impl SdpConnection
pub fn is_multicast(&self) -> bool
pub fn to_multicast_config(&self, port: u16) -> Option<MulticastConfig>
Trait Implementations§
Source§impl Clone for SdpConnection
impl Clone for SdpConnection
Source§impl Debug for SdpConnection
impl Debug for SdpConnection
impl Eq for SdpConnection
Source§impl PartialEq for SdpConnection
impl PartialEq for SdpConnection
impl StructuralPartialEq for SdpConnection
Auto Trait Implementations§
impl Forget for SdpConnection
impl Freeze for SdpConnection
impl Move for SdpConnection
impl RefUnwindSafe for SdpConnection
impl Send for SdpConnectionwhere
RawVecInner: Send,
impl Sync for SdpConnectionwhere
RawVecInner: Sync,
impl Unpin for SdpConnection
impl UnsafeUnpin for SdpConnection
impl UnwindSafe for SdpConnectionwhere
RawVecInner: UnwindSafe,
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