[−][src]Struct swayipc_async::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]
&'_ mut self,
payload: T
) -> Fallible<Vec<Fallible<()>>>
pub async fn get_workspaces<'_>(&'_ mut self) -> Fallible<Vec<Workspace>>
[src]
pub async fn subscribe<'_>(
__arg0: Self,
events: &'_ [EventType]
) -> Fallible<EventStream>
[src]
__arg0: Self,
events: &'_ [EventType]
) -> Fallible<EventStream>
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]
&'_ mut self,
id: T
) -> Fallible<BarConfig>
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]
&'_ mut self,
payload: T
) -> Fallible<bool>
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]
fn from(unix_stream: Async<UnixStream>) -> Self
[src]
impl From<Connection> for Async<UnixStream>
[src]
fn from(connection: Connection) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,