#[non_exhaustive]pub enum SrtMode {
Caller,
Listener,
}Available on crate feature
std only.Expand description
Which side opens the SRT handshake (draft-sharabayko-srt-01 §4.3).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for SrtMode
impl Eq for SrtMode
impl StructuralPartialEq for SrtMode
Auto Trait Implementations§
impl Forget for SrtMode
impl Freeze for SrtMode
impl Move for SrtMode
impl RefUnwindSafe for SrtMode
impl Send for SrtMode
impl Sync for SrtMode
impl Unpin for SrtMode
impl UnsafeUnpin for SrtMode
impl UnwindSafe for SrtMode
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