pub struct Config {
pub listen: String,
pub web: Option<String>,
pub mc: String,
pub wakeup_on: WakeupCondition,
pub debug: bool,
pub on_wakeup: Option<WakeupCallback>,
pub is_waking: AtomicBool,
}Fields§
§listen: String§web: Option<String>§mc: String§wakeup_on: WakeupCondition§debug: bool§on_wakeup: Option<WakeupCallback>§is_waking: AtomicBoolAuto Trait Implementations§
impl !Freeze for Config
impl !RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl !UnwindSafe for Config
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