Enum libpulse_binding::stream::State
source · #[repr(C)]
pub enum State {
Unconnected,
Creating,
Ready,
Failed,
Terminated,
}Expand description
The state of a stream
Variants
Unconnected
The stream is not yet connected to any sink or source.
Creating
The stream is being created.
Ready
The stream is established, you may pass audio data to it now.
Failed
An error occurred that made the stream invalid.
Terminated
The stream has been terminated cleanly.
Implementations
Trait Implementations
sourceimpl From<State> for pa_stream_state_t
impl From<State> for pa_stream_state_t
sourceimpl From<pa_stream_state_t> for State
impl From<pa_stream_state_t> for State
sourcefn from(s: pa_stream_state_t) -> Self
fn from(s: pa_stream_state_t) -> 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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