[−][src]Struct mpeg2ts_reader::descriptor::registration::RegistrationDescriptor
Indicates which kind of syntax any 'private data' within the transport stream will be following
Fields
buf: &'buf [u8]the registration data bytes
Methods
impl<'buf> RegistrationDescriptor<'buf>[src]
pub const TAG: u8[src]
The descriptor tag value which identifies the descriptor as a RegistrationDescriptor.
pub fn new(
_tag: u8,
buf: &'buf [u8]
) -> Result<RegistrationDescriptor<'buf>, DescriptorError>[src]
_tag: u8,
buf: &'buf [u8]
) -> Result<RegistrationDescriptor<'buf>, DescriptorError>
Construct a RegistrationDescriptor instance that will parse the data from the given
slice.
pub fn format_identifier(&self) -> u32[src]
Format identifier value assigned by a Registration Authority.
pub fn additional_identification_info(&self) -> &[u8][src]
borrows a slice of additional_identification_info bytes, whose meaning is defined by
the identifier returned by format_idenfifier().
Trait Implementations
impl<'buf> Debug for RegistrationDescriptor<'buf>[src]
Auto Trait Implementations
impl<'buf> Send for RegistrationDescriptor<'buf>
impl<'buf> Sync for RegistrationDescriptor<'buf>
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,