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 From<State> for cubeb_state
impl From<State> for cubeb_state
Source§impl From<u32> for State
impl From<u32> for State
Source§fn from(x: cubeb_state) -> Self
fn from(x: cubeb_state) -> Self
Converts to this type from the input type.
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
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