State

Trait State 

Source
pub trait State {
    // Required methods
    fn state(&self) -> String;
    fn is_available(&self) -> bool;
}
Expand description

状态特征

Required Methods§

Source

fn state(&self) -> String

获取状态

Source

fn is_available(&self) -> bool

是否可用

Implementors§