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,
pub msg_motd: String,
pub msg_starting: String,
pub msg_waitlist: String,
pub msg_online: String,
pub msg_timeout: String,
}Fields§
§listen: String§web: Option<String>§mc: String§wakeup_on: WakeupCondition§debug: bool§on_wakeup: Option<WakeupCallback>§is_waking: AtomicBool§msg_motd: String§msg_starting: String§msg_waitlist: String§msg_online: String§msg_timeout: StringAuto 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