Enum libpulse_binding::def::SinkState
source · #[repr(C)]
pub enum SinkState {
Invalid,
Running,
Idle,
Suspended,
}Variants
Invalid
This state is used when the server does not support sink state introspection.
Running
Running, sink is playing and used by at least one non-corked sink-input.
Idle
When idle, the sink is playing but there is no non-corked sink-input attached to it.
Suspended
When suspended, actual sink access can be closed, for instance.
Implementations
Trait Implementations
sourceimpl From<SinkState> for pa_sink_state_t
impl From<SinkState> for pa_sink_state_t
sourceimpl From<pa_sink_state_t> for SinkState
impl From<pa_sink_state_t> for SinkState
sourcefn from(s: pa_sink_state_t) -> Self
fn from(s: pa_sink_state_t) -> Self
Converts to this type from the input type.
impl Copy for SinkState
impl Eq for SinkState
impl StructuralEq for SinkState
impl StructuralPartialEq for SinkState
Auto Trait Implementations
impl RefUnwindSafe for SinkState
impl Send for SinkState
impl Sync for SinkState
impl Unpin for SinkState
impl UnwindSafe for SinkState
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