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§
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.
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