pub enum MediaType {
Invalid,
Audio,
MainVideo,
Fecc,
PresentationVideo,
Bfcp,
IxChannel,
T38,
Unknown(u32),
}Expand description
Media class used when allocating or closing ports.
Variants§
Invalid
Audio
MainVideo
Fecc
PresentationVideo
Bfcp
IxChannel
T38
Unknown(u32)
Preserves an SCCP numeric value not recognized by this crate. Allows newer or vendor-specific values to round-trip without loss.
Implementations§
Trait Implementations§
impl Copy for MediaType
impl Eq for MediaType
impl StructuralPartialEq for MediaType
Auto Trait Implementations§
impl Freeze for MediaType
impl RefUnwindSafe for MediaType
impl Send for MediaType
impl Sync for MediaType
impl Unpin for MediaType
impl UnsafeUnpin for MediaType
impl UnwindSafe for MediaType
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