Enum i3status_rs::blocks::BlockConfig
source · pub enum BlockConfig {
Show 47 variants
amd_gpu(Config),
apt(Config),
backlight(Config),
battery(Config),
bluetooth(Config),
calendar(Config),
cpu(Config),
custom(Config),
custom_dbus(Config),
disk_space(Config),
dnf(Config),
docker(Config),
external_ip(Config),
focused_window(Config),
github(Config),
hueshift(Config),
kdeconnect(Config),
load(Config),
maildir(Config),
menu(Config),
memory(Config),
music(Config),
net(Config),
notify(Config),
notmuch(Config),
nvidia_gpu(Config),
packages(Config),
pacman(Config),
pomodoro(Config),
privacy(Config),
rofication(Config),
service_status(Config),
scratchpad(Config),
sound(Config),
speedtest(Config),
keyboard_layout(Config),
taskwarrior(Config),
temperature(Config),
time(Config),
tea_timer(Config),
toggle(Config),
uptime(Config),
vpn(Config),
watson(Config),
weather(Config),
xrandr(Config),
Err(&'static str, Error),
}
Variants§
amd_gpu(Config)
apt(Config)
backlight(Config)
battery(Config)
bluetooth(Config)
calendar(Config)
cpu(Config)
custom(Config)
custom_dbus(Config)
disk_space(Config)
dnf(Config)
docker(Config)
external_ip(Config)
focused_window(Config)
github(Config)
hueshift(Config)
kdeconnect(Config)
load(Config)
maildir(Config)
memory(Config)
music(Config)
net(Config)
notify(Config)
notmuch(Config)
nvidia_gpu(Config)
packages(Config)
pacman(Config)
pomodoro(Config)
privacy(Config)
rofication(Config)
service_status(Config)
scratchpad(Config)
sound(Config)
speedtest(Config)
keyboard_layout(Config)
taskwarrior(Config)
temperature(Config)
time(Config)
tea_timer(Config)
toggle(Config)
uptime(Config)
vpn(Config)
watson(Config)
weather(Config)
xrandr(Config)
Err(&'static str, Error)
Implementations§
Trait Implementations§
source§impl Debug for BlockConfig
impl Debug for BlockConfig
source§impl<'de> Deserialize<'de> for BlockConfig
impl<'de> Deserialize<'de> for BlockConfig
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockConfig
impl !RefUnwindSafe for BlockConfig
impl Send for BlockConfig
impl Sync for BlockConfig
impl Unpin for BlockConfig
impl !UnwindSafe for BlockConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more