pub enum DoorState {
Open,
Closed,
}Expand description
Whether the server is accepting.
assert_ne!(net_io::DoorState::Open, net_io::DoorState::Closed);Variants§
Trait Implementations§
impl Copy for DoorState
impl Eq for DoorState
impl StructuralPartialEq for DoorState
Auto Trait Implementations§
impl Freeze for DoorState
impl RefUnwindSafe for DoorState
impl Send for DoorState
impl Sync for DoorState
impl Unpin for DoorState
impl UnsafeUnpin for DoorState
impl UnwindSafe for DoorState
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