Enum srt_protocol::packet::StreamEncapsulation
source · pub enum StreamEncapsulation {
Udp,
Srt,
}
Variants§
Trait Implementations§
source§impl Clone for StreamEncapsulation
impl Clone for StreamEncapsulation
source§fn clone(&self) -> StreamEncapsulation
fn clone(&self) -> StreamEncapsulation
Returns a copy 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 StreamEncapsulation
impl Debug for StreamEncapsulation
source§impl PartialEq<StreamEncapsulation> for StreamEncapsulation
impl PartialEq<StreamEncapsulation> for StreamEncapsulation
source§fn eq(&self, other: &StreamEncapsulation) -> bool
fn eq(&self, other: &StreamEncapsulation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u8> for StreamEncapsulation
impl TryFrom<u8> for StreamEncapsulation
impl Copy for StreamEncapsulation
impl Eq for StreamEncapsulation
impl StructuralEq for StreamEncapsulation
impl StructuralPartialEq for StreamEncapsulation
Auto Trait Implementations§
impl RefUnwindSafe for StreamEncapsulation
impl Send for StreamEncapsulation
impl Sync for StreamEncapsulation
impl Unpin for StreamEncapsulation
impl UnwindSafe for StreamEncapsulation
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.