Enum wasapi::SessionState
source · pub enum SessionState {
Active,
Inactive,
Expired,
}
Expand description
Possible states for an AudioSessionControl, an enum representing the AudioSessionStateXxx constants
Variants§
Active
The audio session is active. (At least one of the streams in the session is running.)
Inactive
The audio session is inactive. (It contains at least one stream, but none of the streams in the session is currently running.)
Expired
The audio session has expired. (It contains no streams.)
Trait Implementations§
source§impl Debug for SessionState
impl Debug for SessionState
source§impl Display for SessionState
impl Display for SessionState
source§impl PartialEq for SessionState
impl PartialEq for SessionState
source§fn eq(&self, other: &SessionState) -> bool
fn eq(&self, other: &SessionState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SessionState
impl StructuralPartialEq for SessionState
Auto Trait Implementations§
impl Freeze for SessionState
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnwindSafe for SessionState
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