pub struct ShortSmoothingBufferDescriptor<'a> {
pub sb_size: u8,
pub sb_leak_rate: u8,
pub dvb_reserved: &'a [u8],
}Expand description
Short Smoothing Buffer Descriptor (tag 0x61).
Fields§
§sb_size: u82-bit sb_size (ETSI Table 95, PDF p. 103): 1 = 1 536 bytes, others reserved.
sb_leak_rate: u86-bit sb_leak_rate (ETSI Table 96, PDF p. 104).
dvb_reserved: &'a [u8]Raw DVB_reserved tail bytes; preserved verbatim for round-trips.
Trait Implementations§
Source§impl<'a> Clone for ShortSmoothingBufferDescriptor<'a>
impl<'a> Clone for ShortSmoothingBufferDescriptor<'a>
Source§fn clone(&self) -> ShortSmoothingBufferDescriptor<'a>
fn clone(&self) -> ShortSmoothingBufferDescriptor<'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 ShortSmoothingBufferDescriptor<'a>
impl<'a> Debug for ShortSmoothingBufferDescriptor<'a>
Source§impl<'a> Descriptor<'a> for ShortSmoothingBufferDescriptor<'a>
impl<'a> Descriptor<'a> for ShortSmoothingBufferDescriptor<'a>
Source§impl<'a> DescriptorDef<'a> for ShortSmoothingBufferDescriptor<'a>
impl<'a> DescriptorDef<'a> for ShortSmoothingBufferDescriptor<'a>
impl<'a> Eq for ShortSmoothingBufferDescriptor<'a>
Source§impl<'a> From<ShortSmoothingBufferDescriptor<'a>> for AnyDescriptor<'a>
impl<'a> From<ShortSmoothingBufferDescriptor<'a>> for AnyDescriptor<'a>
Source§fn from(d: ShortSmoothingBufferDescriptor<'a>) -> Self
fn from(d: ShortSmoothingBufferDescriptor<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for ShortSmoothingBufferDescriptor<'a>
impl<'a> Parse<'a> for ShortSmoothingBufferDescriptor<'a>
Source§impl<'a> PartialEq for ShortSmoothingBufferDescriptor<'a>
impl<'a> PartialEq for ShortSmoothingBufferDescriptor<'a>
Source§fn eq(&self, other: &ShortSmoothingBufferDescriptor<'a>) -> bool
fn eq(&self, other: &ShortSmoothingBufferDescriptor<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShortSmoothingBufferDescriptor<'_>
impl Serialize for ShortSmoothingBufferDescriptor<'_>
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 ShortSmoothingBufferDescriptor<'a>
impl<'a> Serialize for ShortSmoothingBufferDescriptor<'a>
impl<'a> StructuralPartialEq for ShortSmoothingBufferDescriptor<'a>
Source§impl<'a> Yokeable<'a> for ShortSmoothingBufferDescriptor<'static>
impl<'a> Yokeable<'a> for ShortSmoothingBufferDescriptor<'static>
Source§type Output = ShortSmoothingBufferDescriptor<'a>
type Output = ShortSmoothingBufferDescriptor<'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 ShortSmoothingBufferDescriptor<'a>
impl<'a> RefUnwindSafe for ShortSmoothingBufferDescriptor<'a>
impl<'a> Send for ShortSmoothingBufferDescriptor<'a>
impl<'a> Sync for ShortSmoothingBufferDescriptor<'a>
impl<'a> Unpin for ShortSmoothingBufferDescriptor<'a>
impl<'a> UnsafeUnpin for ShortSmoothingBufferDescriptor<'a>
impl<'a> UnwindSafe for ShortSmoothingBufferDescriptor<'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