[−][src]Struct i3status_rs::blocks::networkmanager::ConnectionManager
Implementations
impl ConnectionManager
[src]
pub fn new() -> Self
[src]
fn get(
c: &Connection,
path: Path<'_>,
t: &str,
property: &str
) -> Result<Message, Error>
[src]
c: &Connection,
path: Path<'_>,
t: &str,
property: &str
) -> Result<Message, Error>
fn get_property(c: &Connection, property: &str) -> Result<Message, Error>
[src]
pub fn state(&self, c: &Connection) -> Result<NetworkState, Error>
[src]
pub fn primary_connection(
&self,
c: &Connection
) -> Result<NmConnection<'_>, Error>
[src]
&self,
c: &Connection
) -> Result<NmConnection<'_>, Error>
pub fn active_connections(
&self,
c: &Connection
) -> Result<Vec<NmConnection<'_>>, Error>
[src]
&self,
c: &Connection
) -> Result<Vec<NmConnection<'_>>, Error>
Auto Trait Implementations
impl RefUnwindSafe for ConnectionManager
[src]
impl Send for ConnectionManager
[src]
impl Sync for ConnectionManager
[src]
impl Unpin for ConnectionManager
[src]
impl UnwindSafe for ConnectionManager
[src]
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>,