pub trait CanBeCharged {
    // Required methods
    fn is_full(&self) -> bool;
    fn is_charging(&self) -> bool;
    fn is_plugged(&self) -> bool;
    fn is_invalid(&self) -> bool;
}

Required Methods§

source

fn is_full(&self) -> bool

source

fn is_charging(&self) -> bool

source

fn is_plugged(&self) -> bool

source

fn is_invalid(&self) -> bool

Implementors§