#[repr(transparent)]pub struct RtmpVersion(pub u8);
Expand description
The RTMP version.
We only support version 3.
Tuple Fields§
§0: u8
Implementations§
Source§impl RtmpVersion
impl RtmpVersion
Trait Implementations§
Source§impl Clone for RtmpVersion
impl Clone for RtmpVersion
Source§fn clone(&self) -> RtmpVersion
fn clone(&self) -> RtmpVersion
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 RtmpVersion
impl Debug for RtmpVersion
Source§impl From<RtmpVersion> for u8
impl From<RtmpVersion> for u8
Source§fn from(value: RtmpVersion) -> Self
fn from(value: RtmpVersion) -> Self
Converts to this type from the input type.
Source§impl From<u8> for RtmpVersion
impl From<u8> for RtmpVersion
Source§impl Hash for RtmpVersion
impl Hash for RtmpVersion
Source§impl Ord for RtmpVersion
impl Ord for RtmpVersion
Source§fn cmp(&self, other: &RtmpVersion) -> Ordering
fn cmp(&self, other: &RtmpVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RtmpVersion
impl PartialEq for RtmpVersion
Source§impl PartialOrd for RtmpVersion
impl PartialOrd for RtmpVersion
impl Copy for RtmpVersion
impl Eq for RtmpVersion
impl StructuralPartialEq for RtmpVersion
Auto Trait Implementations§
impl Freeze for RtmpVersion
impl RefUnwindSafe for RtmpVersion
impl Send for RtmpVersion
impl Sync for RtmpVersion
impl Unpin for RtmpVersion
impl UnwindSafe for RtmpVersion
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