Enum libpulse_binding::context::subscribe::Facility[][src]

#[repr(u32)]pub enum Facility {
    Sink,
    Source,
    SinkInput,
    SourceOutput,
    Module,
    Client,
    SampleCache,
    Server,
    Card,
}

Facility component of an event.

Variants

Sink

Sink.

Source

Source.

SinkInput

Sink-input.

SourceOutput

Source-output.

Module

Module.

Client

Client.

SampleCache

Sample-cache.

Server

Global server change, only occurring with Operation::Changed.

Card

Card.

Implementations

impl Facility[src]

pub const MASK: EventType[src]

Mask to extract facility value from the event type passed to the user callback.

pub const fn to_interest_mask(self) -> InterestMaskSet[src]

Converts to an interest mask.

Trait Implementations

impl Clone for Facility[src]

impl Copy for Facility[src]

impl Debug for Facility[src]

impl Eq for Facility[src]

impl FromPrimitive for Facility[src]

impl PartialEq<Facility> for Facility[src]

impl StructuralEq for Facility[src]

impl StructuralPartialEq for Facility[src]

impl ToPrimitive for Facility[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.