Enum rtmp::chunk::unpacketizer::UnpackResult
source · pub enum UnpackResult {
ChunkBasicHeaderResult(ChunkBasicHeader),
ChunkMessageHeaderResult(ChunkMessageHeader),
ChunkInfo(ChunkInfo),
Chunks(Vec<ChunkInfo>),
Success,
NotEnoughBytes,
Empty,
}
Variants§
ChunkBasicHeaderResult(ChunkBasicHeader)
ChunkMessageHeaderResult(ChunkMessageHeader)
ChunkInfo(ChunkInfo)
Chunks(Vec<ChunkInfo>)
Success
NotEnoughBytes
Empty
Trait Implementations§
source§impl Debug for UnpackResult
impl Debug for UnpackResult
source§impl PartialEq for UnpackResult
impl PartialEq for UnpackResult
source§fn eq(&self, other: &UnpackResult) -> bool
fn eq(&self, other: &UnpackResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UnpackResult
impl StructuralPartialEq for UnpackResult
Auto Trait Implementations§
impl RefUnwindSafe for UnpackResult
impl Send for UnpackResult
impl Sync for UnpackResult
impl Unpin for UnpackResult
impl UnwindSafe for UnpackResult
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 Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.