Struct fast_protocol::datatypes::packets::ConfigurationDisconnect
source · pub struct ConfigurationDisconnect {
pub reason: TextComponent,
}Expand description
Disconnect packet to disconnect the client durent the Configuration phase
Fields§
§reason: TextComponentreason why the client gets disconnected
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigurationDisconnect
impl RefUnwindSafe for ConfigurationDisconnect
impl Send for ConfigurationDisconnect
impl Sync for ConfigurationDisconnect
impl Unpin for ConfigurationDisconnect
impl UnwindSafe for ConfigurationDisconnect
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