pub enum State {
Started,
Stopped,
Drained,
Error,
}
Expand description
Stream states signaled via state_callback
.
Variants§
Started
Stream started.
Stopped
Stream stopped.
Drained
Stream drained.
Error
Stream disabled due to error.
Trait Implementations§
source§impl PartialEq for State
impl PartialEq for State
impl Copy for State
impl Eq for State
impl StructuralEq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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