pub struct StdBufferBound {
pub stream_id: u8,
pub stream_id_extension: Option<u8>,
pub buffer_bound_scale: bool,
pub buffer_size_bound: u16,
}Expand description
A per-stream P-STD buffer bound entry.
Fields§
§stream_id: u8The stream’s stream_id (ISO/IEC 13818-1 Table 2-22).
stream_id_extension: Option<u8>If stream_id == 0xB7, this is the extended stream_id_extension field.
Otherwise None.
buffer_bound_scale: boolP-STD_buffer_bound_scale: false = 128 bytes, true = 1024 bytes.
buffer_size_bound: u16P-STD_buffer_size_bound in units of buffer_bound_scale.
Trait Implementations§
Source§impl Clone for StdBufferBound
impl Clone for StdBufferBound
Source§fn clone(&self) -> StdBufferBound
fn clone(&self) -> StdBufferBound
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 Debug for StdBufferBound
impl Debug for StdBufferBound
impl Eq for StdBufferBound
Source§impl PartialEq for StdBufferBound
impl PartialEq for StdBufferBound
Source§impl Serialize for StdBufferBound
Available on crate feature serde only.
impl Serialize for StdBufferBound
Available on crate feature
serde only.impl StructuralPartialEq for StdBufferBound
Auto Trait Implementations§
impl Freeze for StdBufferBound
impl RefUnwindSafe for StdBufferBound
impl Send for StdBufferBound
impl Sync for StdBufferBound
impl Unpin for StdBufferBound
impl UnsafeUnpin for StdBufferBound
impl UnwindSafe for StdBufferBound
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