[−][src]Struct i3status_rs::blocks::net::Net
Fields
id: usize
format: FormatTemplate
format_alt: Option<FormatTemplate>
output: TextWidget
ssid: Option<String>
signal_strength: u32
ip_addr: Option<String>
ipv6_addr: Option<String>
bitrate: Option<String>
speed_up: f64
speed_down: f64
graph_tx: String
graph_rx: String
update_interval: Duration
device: NetworkDevice
auto_device: bool
tx_buff: Vec<f64>
rx_buff: Vec<f64>
tx_bytes: u64
rx_bytes: u64
active: bool
exists: bool
hide_inactive: bool
hide_missing: bool
last_update: Instant
Implementations
impl Net
[src]
fn update_bitrate(&mut self) -> Result<(), Error>
[src]
fn update_ssid(&mut self) -> Result<(), Error>
[src]
fn update_signal_strength(&mut self) -> Result<(), Error>
[src]
fn update_ip_addr(&mut self) -> Result<(), Error>
[src]
fn update_tx_rx(&mut self) -> Result<(), Error>
[src]
Trait Implementations
impl Block for Net
[src]
fn update(&mut self) -> Result<Option<Update>, Error>
[src]
fn view(&self) -> Vec<&dyn I3BarWidget>
[src]
fn click(&mut self, event: &I3BarEvent) -> Result<(), Error>
[src]
fn id(&self) -> usize
[src]
fn signal(&mut self, _signal: i32) -> Result<(), Error>
[src]
impl ConfigBlock for Net
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Net
[src]
impl !Send for Net
[src]
impl !Sync for Net
[src]
impl Unpin for Net
[src]
impl UnwindSafe for Net
[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>,