Struct ServerStoppingEvent
pub struct ServerStoppingEvent {
pub dedicated: bool,
}Expand description
What Hooks::server_stopping is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§dedicated: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ServerStoppingEvent
impl RefUnwindSafe for ServerStoppingEvent
impl Send for ServerStoppingEvent
impl Sync for ServerStoppingEvent
impl Unpin for ServerStoppingEvent
impl UnsafeUnpin for ServerStoppingEvent
impl UnwindSafe for ServerStoppingEvent
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