pub struct TimeSliceFecIdentifierDescriptor<'a> {
pub time_slicing: bool,
pub mpe_fec: u8,
pub frame_size: u8,
pub max_burst_duration: u8,
pub max_average_rate: u8,
pub time_slice_fec_id: u8,
pub id_selector: &'a [u8],
}Expand description
Time Slice and FEC Identifier Descriptor.
Fields§
§time_slicing: bool1-bit time_slicing flag (1 = time slicing used).
mpe_fec: u82-bit mpe_fec algorithm selector (Table 41: 0=none, 1=RS(255,191,64)).
frame_size: u83-bit frame_size code (Table 42).
max_burst_duration: u88-bit max_burst_duration.
max_average_rate: u84-bit max_average_rate code (Table 43).
time_slice_fec_id: u84-bit time_slice_fec_id.
id_selector: &'a [u8]Trailing id_selector bytes.
Trait Implementations§
Source§impl<'a> Clone for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Clone for TimeSliceFecIdentifierDescriptor<'a>
Source§fn clone(&self) -> TimeSliceFecIdentifierDescriptor<'a>
fn clone(&self) -> TimeSliceFecIdentifierDescriptor<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Debug for TimeSliceFecIdentifierDescriptor<'a>
Source§impl<'a> Descriptor<'a> for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Descriptor<'a> for TimeSliceFecIdentifierDescriptor<'a>
Source§impl<'a> DescriptorDef<'a> for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> DescriptorDef<'a> for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Eq for TimeSliceFecIdentifierDescriptor<'a>
Source§impl<'a> From<TimeSliceFecIdentifierDescriptor<'a>> for AnyDescriptor<'a>
impl<'a> From<TimeSliceFecIdentifierDescriptor<'a>> for AnyDescriptor<'a>
Source§fn from(d: TimeSliceFecIdentifierDescriptor<'a>) -> Self
fn from(d: TimeSliceFecIdentifierDescriptor<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Parse<'a> for TimeSliceFecIdentifierDescriptor<'a>
Source§impl<'a> PartialEq for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> PartialEq for TimeSliceFecIdentifierDescriptor<'a>
Source§fn eq(&self, other: &TimeSliceFecIdentifierDescriptor<'a>) -> bool
fn eq(&self, other: &TimeSliceFecIdentifierDescriptor<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TimeSliceFecIdentifierDescriptor<'_>
impl Serialize for TimeSliceFecIdentifierDescriptor<'_>
Source§type Error = Error
type Error = Error
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.Source§impl<'a> Serialize for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Serialize for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> StructuralPartialEq for TimeSliceFecIdentifierDescriptor<'a>
Source§impl<'a> Yokeable<'a> for TimeSliceFecIdentifierDescriptor<'static>
impl<'a> Yokeable<'a> for TimeSliceFecIdentifierDescriptor<'static>
Source§type Output = TimeSliceFecIdentifierDescriptor<'a>
type Output = TimeSliceFecIdentifierDescriptor<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> RefUnwindSafe for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Send for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Sync for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> Unpin for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> UnsafeUnpin for TimeSliceFecIdentifierDescriptor<'a>
impl<'a> UnwindSafe for TimeSliceFecIdentifierDescriptor<'a>
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