pub enum RtspTransport {
Tcp,
UdpUnicast,
}Expand description
RTSP transport protocol.
Variants§
Tcp
TCP interleaved — more reliable over lossy networks.
UdpUnicast
UDP unicast — lower latency, may lose packets.
Trait Implementations§
Source§impl Clone for RtspTransport
impl Clone for RtspTransport
Source§fn clone(&self) -> RtspTransport
fn clone(&self) -> RtspTransport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RtspTransport
impl Debug for RtspTransport
Source§impl PartialEq for RtspTransport
impl PartialEq for RtspTransport
impl Copy for RtspTransport
impl Eq for RtspTransport
impl StructuralPartialEq for RtspTransport
Auto Trait Implementations§
impl Freeze for RtspTransport
impl RefUnwindSafe for RtspTransport
impl Send for RtspTransport
impl Sync for RtspTransport
impl Unpin for RtspTransport
impl UnsafeUnpin for RtspTransport
impl UnwindSafe for RtspTransport
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