Struct swayipc_async::Connection[][src]

pub struct Connection(_);

Implementations

impl Connection[src]

pub async fn new() -> Fallible<Self>[src]

pub async fn run_command<T: AsRef<str>>(
    &mut self,
    payload: T
) -> Fallible<Vec<Fallible<()>>>
[src]

pub async fn get_workspaces(&mut self) -> Fallible<Vec<Workspace>>[src]

pub async fn subscribe(self, events: &[EventType]) -> Fallible<EventStream>[src]

pub async fn get_outputs(&mut self) -> Fallible<Vec<Output>>[src]

pub async fn get_tree(&mut self) -> Fallible<Node>[src]

pub async fn get_marks(&mut self) -> Fallible<Vec<String>>[src]

pub async fn get_bar_ids(&mut self) -> Fallible<Vec<String>>[src]

pub async fn get_bar_config<T: AsRef<str>>(
    &mut self,
    id: T
) -> Fallible<BarConfig>
[src]

pub async fn get_version(&mut self) -> Fallible<Version>[src]

pub async fn get_binding_modes(&mut self) -> Fallible<Vec<String>>[src]

pub async fn get_config(&mut self) -> Fallible<Config>[src]

pub async fn send_tick<T: AsRef<str>>(&mut self, payload: T) -> Fallible<bool>[src]

pub async fn sync(&mut self) -> Fallible<bool>[src]

pub async fn get_binding_state(&mut self) -> Fallible<String>[src]

pub async fn get_inputs(&mut self) -> Fallible<Vec<Input>>[src]

pub async fn get_seats(&mut self) -> Fallible<Vec<Seat>>[src]

Trait Implementations

impl Debug for Connection[src]

impl From<Async<UnixStream>> for Connection[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.