Struct Response Trim
pub struct ResponseTrim {
pub leading: Option<TrimThreshold>,
pub trailing: Option<TrimThreshold>,
}Expand description
Explicit leading/trailing trim. None keeps that end unchanged. Trimming is
linked across channels so inter-channel timing is preserved, and the removed
frame counts are reported.
Fields§
§leading: Option<TrimThreshold>Remove frames before the first frame above this threshold.
trailing: Option<TrimThreshold>Remove frames after the last frame above this threshold.
Trait Implementations§
§impl Clone for ResponseTrim
impl Clone for ResponseTrim
§fn clone(&self) -> ResponseTrim
fn clone(&self) -> ResponseTrim
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResponseTrim
§impl Debug for ResponseTrim
impl Debug for ResponseTrim
§impl Default for ResponseTrim
impl Default for ResponseTrim
§fn default() -> ResponseTrim
fn default() -> ResponseTrim
Returns the “default value” for a type. Read more
§impl PartialEq for ResponseTrim
impl PartialEq for ResponseTrim
impl StructuralPartialEq for ResponseTrim
Auto Trait Implementations§
impl Freeze for ResponseTrim
impl RefUnwindSafe for ResponseTrim
impl Send for ResponseTrim
impl Sync for ResponseTrim
impl Unpin for ResponseTrim
impl UnsafeUnpin for ResponseTrim
impl UnwindSafe for ResponseTrim
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more