[][src]Struct i3status_rs::blocks::speedtest::SpeedTest

pub struct SpeedTest {
    id: usize,
    vals: Arc<Mutex<(bool, Vec<f32>)>>,
    widgets: Vec<TextWidget>,
    format: FormatTemplate,
    interval: Duration,
    ping_icon: String,
    down_icon: String,
    up_icon: String,
    shared_config: SharedConfig,
    send: Sender<()>,
}

Fields

id: usizevals: Arc<Mutex<(bool, Vec<f32>)>>widgets: Vec<TextWidget>format: FormatTemplateinterval: Durationping_icon: Stringdown_icon: Stringup_icon: Stringshared_config: SharedConfigsend: Sender<()>

Trait Implementations

impl Block for SpeedTest[src]

impl ConfigBlock for SpeedTest[src]

type Config = SpeedTestConfig

Auto Trait Implementations

impl !RefUnwindSafe for SpeedTest[src]

impl !Send for SpeedTest[src]

impl !Sync for SpeedTest[src]

impl Unpin for SpeedTest[src]

impl UnwindSafe for SpeedTest[src]

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.