pub enum TryRead {
Samples(usize),
Starved,
Ended,
}Expand description
Result of a buffered read.
Variants§
Samples(usize)
This many samples were copied into the front of the buffer.
Starved
Nothing buffered yet, but the writer is still producing.
Ended
No samples are left and none are coming.
Trait Implementations§
impl Copy for TryRead
impl Eq for TryRead
impl StructuralPartialEq for TryRead
Auto Trait Implementations§
impl Freeze for TryRead
impl RefUnwindSafe for TryRead
impl Send for TryRead
impl Sync for TryRead
impl Unpin for TryRead
impl UnsafeUnpin for TryRead
impl UnwindSafe for TryRead
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