pub struct PartialTransportStreamDescriptor {
pub peak_rate: u32,
pub minimum_overall_smoothing_rate: u32,
pub maximum_overall_smoothing_buffer: u16,
}Expand description
Partial Transport Stream Descriptor (tag 0x63).
Fields§
§peak_rate: u3222-bit peak_rate (188-byte packets per unit interval, PDF p. 155).
minimum_overall_smoothing_rate: u3222-bit minimum_overall_smoothing_rate (0x3FFFFF = undefined, PDF p. 155).
maximum_overall_smoothing_buffer: u1614-bit maximum_overall_smoothing_buffer (0x3FFF = undefined, PDF p. 155).
Trait Implementations§
Source§impl Clone for PartialTransportStreamDescriptor
impl Clone for PartialTransportStreamDescriptor
Source§fn clone(&self) -> PartialTransportStreamDescriptor
fn clone(&self) -> PartialTransportStreamDescriptor
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> Descriptor<'a> for PartialTransportStreamDescriptor
impl<'a> Descriptor<'a> for PartialTransportStreamDescriptor
Source§impl<'a> DescriptorDef<'a> for PartialTransportStreamDescriptor
impl<'a> DescriptorDef<'a> for PartialTransportStreamDescriptor
impl Eq for PartialTransportStreamDescriptor
Source§impl<'a> From<PartialTransportStreamDescriptor> for AnyDescriptor<'a>
impl<'a> From<PartialTransportStreamDescriptor> for AnyDescriptor<'a>
Source§fn from(d: PartialTransportStreamDescriptor) -> Self
fn from(d: PartialTransportStreamDescriptor) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for PartialTransportStreamDescriptor
impl<'a> Parse<'a> for PartialTransportStreamDescriptor
Source§impl PartialEq for PartialTransportStreamDescriptor
impl PartialEq for PartialTransportStreamDescriptor
Source§fn eq(&self, other: &PartialTransportStreamDescriptor) -> bool
fn eq(&self, other: &PartialTransportStreamDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PartialTransportStreamDescriptor
impl Serialize for PartialTransportStreamDescriptor
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.impl StructuralPartialEq for PartialTransportStreamDescriptor
Auto Trait Implementations§
impl Freeze for PartialTransportStreamDescriptor
impl RefUnwindSafe for PartialTransportStreamDescriptor
impl Send for PartialTransportStreamDescriptor
impl Sync for PartialTransportStreamDescriptor
impl Unpin for PartialTransportStreamDescriptor
impl UnsafeUnpin for PartialTransportStreamDescriptor
impl UnwindSafe for PartialTransportStreamDescriptor
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