Enum mpeg2ts_reader::descriptor::DescriptorError [−][src]
pub enum DescriptorError {
NotEnoughData {
tag: u8,
actual: usize,
expected: usize,
},
TagTooLongForBuffer {
taglen: usize,
buflen: usize,
},
BufferTooShort {
buflen: usize,
},
UnhandledTagValue(u8),
}Variants
NotEnoughDataFields of NotEnoughData
tag: u8 | |
actual: usize | |
expected: usize |
TagTooLongForBufferFields of TagTooLongForBuffer
taglen: usize | |
buflen: usize |
BufferTooShortFields of BufferTooShort
buflen: usize |
UnhandledTagValue(u8)
Trait Implementations
impl Debug for DescriptorError[src]
impl Debug for DescriptorErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DescriptorError[src]
impl PartialEq for DescriptorErrorfn eq(&self, other: &DescriptorError) -> bool[src]
fn eq(&self, other: &DescriptorError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DescriptorError) -> bool[src]
fn ne(&self, other: &DescriptorError) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for DescriptorError
impl Send for DescriptorErrorimpl Sync for DescriptorError
impl Sync for DescriptorError