pub enum PwLinkState {
Error,
Unlinked,
Init,
Negotiating,
Allocating,
Paused,
Active,
}Expand description
Where a link is in being set up, as PipeWire says. The order is from worst to best.
Variants§
Error
It failed.
Unlinked
Its ports were unlinked.
Init
It was just made.
Negotiating
Its ports are agreeing on a format.
Allocating
Its buffers are being made.
Paused
It is ready but nothing flows.
Active
Data flows through it.
Trait Implementations§
Source§impl Clone for PwLinkState
impl Clone for PwLinkState
impl Copy for PwLinkState
Source§impl Debug for PwLinkState
impl Debug for PwLinkState
impl Eq for PwLinkState
Source§impl Hash for PwLinkState
impl Hash for PwLinkState
Source§impl Ord for PwLinkState
impl Ord for PwLinkState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PwLinkState
impl PartialEq for PwLinkState
Source§impl PartialOrd for PwLinkState
impl PartialOrd for PwLinkState
impl StructuralPartialEq for PwLinkState
Auto Trait Implementations§
impl Forget for PwLinkState
impl Freeze for PwLinkState
impl Move for PwLinkState
impl RefUnwindSafe for PwLinkState
impl Send for PwLinkState
impl Sync for PwLinkState
impl Unpin for PwLinkState
impl UnsafeUnpin for PwLinkState
impl UnwindSafe for PwLinkState
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