pub enum FillError<T: Copy> {
ReservedSequence {
sample: T,
},
Discontinuous {
expected: u32,
received: u32,
sample: T,
},
}Expand description
Why a sample could not be appended to a BlockBuilder.
Variants§
ReservedSequence
Sequence 0 is reserved and never identifies a sample.
Fields
§
sample: TThe rejected sample.
Discontinuous
The sequence was not the next contiguous value.
Trait Implementations§
impl<T: Copy + Copy> Copy for FillError<T>
impl<T: Eq + Copy> Eq for FillError<T>
impl<T: PartialEq + Copy> StructuralPartialEq for FillError<T>
Auto Trait Implementations§
impl<T> Freeze for FillError<T>where
T: Freeze,
impl<T> RefUnwindSafe for FillError<T>where
T: RefUnwindSafe,
impl<T> Send for FillError<T>where
T: Send,
impl<T> Sync for FillError<T>where
T: Sync,
impl<T> Unpin for FillError<T>where
T: Unpin,
impl<T> UnsafeUnpin for FillError<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for FillError<T>where
T: 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