#[non_exhaustive]pub struct BufferPartition {
pub kind: String,
pub percent: Option<String>,
pub dynamic_threshold: Option<String>,
}Expand description
A buffer-partition <kind> entry of a shared buffer.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Stringlossless, lossless-headroom, lossy or multicast.
percent: Option<String>§dynamic_threshold: Option<String>Trait Implementations§
Source§impl Clone for BufferPartition
impl Clone for BufferPartition
Source§impl Debug for BufferPartition
impl Debug for BufferPartition
impl Eq for BufferPartition
Source§impl PartialEq for BufferPartition
impl PartialEq for BufferPartition
impl StructuralPartialEq for BufferPartition
Auto Trait Implementations§
impl Forget for BufferPartition
impl Freeze for BufferPartition
impl Move for BufferPartition
impl RefUnwindSafe for BufferPartition
impl Send for BufferPartitionwhere
RawVecInner: Send,
impl Sync for BufferPartitionwhere
RawVecInner: Sync,
impl Unpin for BufferPartition
impl UnsafeUnpin for BufferPartition
impl UnwindSafe for BufferPartitionwhere
RawVecInner: UnwindSafe,
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