Enum cubeb_core::State
source · [−]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
sourceimpl From<State> for cubeb_state
impl From<State> for cubeb_state
sourceimpl From<u32> for State
impl From<u32> for State
sourcefn 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 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more