Enum libpulse_binding::def::SourceState
source · #[repr(C)]
pub enum SourceState {
Invalid,
Running,
Idle,
Suspended,
}Expand description
Source state.
Variants
Invalid
This state is used when the server does not support source state introspection.
Running
Running, source is recording and used by at least one non-corked source-output.
Idle
When idle, the source is still recording but there is no non-corked source-output.
Suspended
When suspended, actual source access can be closed, for instance.
Implementations
sourceimpl SourceState
impl SourceState
Trait Implementations
sourceimpl Clone for SourceState
impl Clone for SourceState
sourcefn clone(&self) -> SourceState
fn clone(&self) -> SourceState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SourceState
impl Debug for SourceState
sourceimpl From<SourceState> for pa_source_state_t
impl From<SourceState> for pa_source_state_t
sourcefn from(s: SourceState) -> Self
fn from(s: SourceState) -> Self
Converts to this type from the input type.
sourceimpl From<pa_source_state_t> for SourceState
impl From<pa_source_state_t> for SourceState
sourcefn from(s: pa_source_state_t) -> Self
fn from(s: pa_source_state_t) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SourceState> for SourceState
impl PartialEq<SourceState> for SourceState
sourcefn eq(&self, other: &SourceState) -> bool
fn eq(&self, other: &SourceState) -> bool
impl Copy for SourceState
impl Eq for SourceState
impl StructuralEq for SourceState
impl StructuralPartialEq for SourceState
Auto Trait Implementations
impl RefUnwindSafe for SourceState
impl Send for SourceState
impl Sync for SourceState
impl Unpin for SourceState
impl UnwindSafe for SourceState
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