pub enum BlockConfig {
Show 45 variants
amd_gpu(Config),
backlight(Config),
battery(Config),
bluetooth(Config),
calendar(Config),
cpu(Config),
custom(Config),
custom_dbus(Config),
disk_iostats(Config),
disk_space(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),
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)
backlight(Config)
battery(Config)
bluetooth(Config)
calendar(Config)
cpu(Config)
custom(Config)
custom_dbus(Config)
disk_iostats(Config)
disk_space(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)
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