pub enum ClientboundConfigPacketwhere
Self: Sized,{
Show 17 variants
CookieRequest(ClientboundCookieRequest),
CustomPayload(ClientboundCustomPayload),
Disconnect(ClientboundDisconnect),
FinishConfiguration(ClientboundFinishConfiguration),
KeepAlive(ClientboundKeepAlive),
Ping(ClientboundPing),
ResetChat(ClientboundResetChat),
RegistryData(ClientboundRegistryData),
ResourcePackPop(ClientboundResourcePackPop),
ResourcePackPush(ClientboundResourcePackPush),
StoreCookie(ClientboundStoreCookie),
Transfer(ClientboundTransfer),
UpdateEnabledFeatures(ClientboundUpdateEnabledFeatures),
UpdateTags(ClientboundUpdateTags),
SelectKnownPacks(ClientboundSelectKnownPacks),
CustomReportDetails(ClientboundCustomReportDetails),
ServerLinks(ClientboundServerLinks),
}
Variants§
CookieRequest(ClientboundCookieRequest)
CustomPayload(ClientboundCustomPayload)
Disconnect(ClientboundDisconnect)
FinishConfiguration(ClientboundFinishConfiguration)
KeepAlive(ClientboundKeepAlive)
Ping(ClientboundPing)
ResetChat(ClientboundResetChat)
RegistryData(ClientboundRegistryData)
ResourcePackPop(ClientboundResourcePackPop)
ResourcePackPush(ClientboundResourcePackPush)
StoreCookie(ClientboundStoreCookie)
Transfer(ClientboundTransfer)
UpdateEnabledFeatures(ClientboundUpdateEnabledFeatures)
UpdateTags(ClientboundUpdateTags)
SelectKnownPacks(ClientboundSelectKnownPacks)
CustomReportDetails(ClientboundCustomReportDetails)
ServerLinks(ClientboundServerLinks)
Trait Implementations§
Source§impl Clone for ClientboundConfigPacketwhere
Self: Sized,
impl Clone for ClientboundConfigPacketwhere
Self: Sized,
Source§fn clone(&self) -> ClientboundConfigPacket
fn clone(&self) -> ClientboundConfigPacket
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ClientboundConfigPacketwhere
Self: Sized,
impl Debug for ClientboundConfigPacketwhere
Self: Sized,
Source§impl Packet<ClientboundConfigPacket> for ClientboundConfigPacket
impl Packet<ClientboundConfigPacket> for ClientboundConfigPacket
Source§fn into_variant(self) -> ClientboundConfigPacket
fn into_variant(self) -> ClientboundConfigPacket
No-op, exists so you can pass a packet enum when a Packet<> is expected.
Source§impl Packet<ClientboundConfigPacket> for ClientboundCookieRequest
impl Packet<ClientboundConfigPacket> for ClientboundCookieRequest
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundCustomPayload
impl Packet<ClientboundConfigPacket> for ClientboundCustomPayload
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundCustomReportDetails
impl Packet<ClientboundConfigPacket> for ClientboundCustomReportDetails
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundDisconnect
impl Packet<ClientboundConfigPacket> for ClientboundDisconnect
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundFinishConfiguration
impl Packet<ClientboundConfigPacket> for ClientboundFinishConfiguration
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundKeepAlive
impl Packet<ClientboundConfigPacket> for ClientboundKeepAlive
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundPing
impl Packet<ClientboundConfigPacket> for ClientboundPing
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundRegistryData
impl Packet<ClientboundConfigPacket> for ClientboundRegistryData
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundResetChat
impl Packet<ClientboundConfigPacket> for ClientboundResetChat
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundResourcePackPop
impl Packet<ClientboundConfigPacket> for ClientboundResourcePackPop
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundResourcePackPush
impl Packet<ClientboundConfigPacket> for ClientboundResourcePackPush
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundSelectKnownPacks
impl Packet<ClientboundConfigPacket> for ClientboundSelectKnownPacks
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundServerLinks
impl Packet<ClientboundConfigPacket> for ClientboundServerLinks
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundStoreCookie
impl Packet<ClientboundConfigPacket> for ClientboundStoreCookie
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundTransfer
impl Packet<ClientboundConfigPacket> for ClientboundTransfer
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundUpdateEnabledFeatures
impl Packet<ClientboundConfigPacket> for ClientboundUpdateEnabledFeatures
fn into_variant(self) -> ClientboundConfigPacket
Source§impl Packet<ClientboundConfigPacket> for ClientboundUpdateTags
impl Packet<ClientboundConfigPacket> for ClientboundUpdateTags
fn into_variant(self) -> ClientboundConfigPacket
Source§impl ProtocolPacket for ClientboundConfigPacket
impl ProtocolPacket for ClientboundConfigPacket
Auto Trait Implementations§
impl Freeze for ClientboundConfigPacketwhere
ClientboundConfigPacket: Sized,
impl RefUnwindSafe for ClientboundConfigPacketwhere
ClientboundConfigPacket: Sized,
impl Send for ClientboundConfigPacketwhere
ClientboundConfigPacket: Sized,
impl Sync for ClientboundConfigPacketwhere
ClientboundConfigPacket: Sized,
impl Unpin for ClientboundConfigPacketwhere
ClientboundConfigPacket: Sized,
impl UnwindSafe for ClientboundConfigPacketwhere
ClientboundConfigPacket: Sized,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.