pub struct Version(pub u8);Expand description
C0 (client→server) or S0 (server→client): the 1-byte RTMP version (§5.2.2).
Tuple Fields§
§0: u8Trait Implementations§
impl Copy for Version
impl Eq for Version
Source§impl Serialize for Version
impl Serialize for Version
Source§type Error = RtmpError
type Error = RtmpError
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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