[][src]Struct pulsectl::Handler

pub struct Handler {
    pub mainloop: Rc<RefCell<Mainloop>>,
    pub context: Rc<RefCell<Context>>,
    pub introspect: Introspector,
}

Fields

mainloop: Rc<RefCell<Mainloop>>context: Rc<RefCell<Context>>introspect: Introspector

Implementations

impl Handler[src]

pub fn connect(name: &str) -> Result<Handler, PulseCtlError>[src]

pub fn wait_for_operation<G: ?Sized>(
    &mut self,
    op: Operation<G>
) -> Result<(), PulseCtlError>
[src]

Trait Implementations

impl Drop for Handler[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, 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.