pub enum ClientboundConfigurationPacket {
Show 20 variants
CookieRequest(CookieRequest),
CustomPayload(CustomPayload),
Disconnect(Disconnect),
FinishConfiguration(FinishConfiguration),
KeepAlive(KeepAlive),
Ping(Ping),
ResetChat(ResetChat),
RegistryData(RegistryData),
RemoveResourcePack(RemoveResourcePack),
AddResourcePack(AddResourcePack),
StoreCookie(StoreCookie),
Transfer(Transfer),
FeatureFlags(FeatureFlags),
Tags(Tags),
SelectKnownPacks(SelectKnownPacks),
CustomReportDetails(CustomReportDetails),
ServerLinks(ServerLinks),
ClearDialog(ClearDialog),
ShowDialog(ShowDialog),
CodeOfConduct(CodeOfConduct),
}Expand description
Every Clientbound packet of the Configuration state.
Variants§
CookieRequest(CookieRequest)
cookie_request
CustomPayload(CustomPayload)
custom_payload
Disconnect(Disconnect)
disconnect
FinishConfiguration(FinishConfiguration)
finish_configuration
KeepAlive(KeepAlive)
keep_alive
Ping(Ping)
ping
ResetChat(ResetChat)
reset_chat
RegistryData(RegistryData)
registry_data
RemoveResourcePack(RemoveResourcePack)
remove_resource_pack
AddResourcePack(AddResourcePack)
add_resource_pack
StoreCookie(StoreCookie)
store_cookie
Transfer(Transfer)
transfer
FeatureFlags(FeatureFlags)
feature_flags
Tags(Tags)
tags
SelectKnownPacks(SelectKnownPacks)
select_known_packs
CustomReportDetails(CustomReportDetails)
custom_report_details
ServerLinks(ServerLinks)
server_links
ClearDialog(ClearDialog)
clear_dialog
ShowDialog(ShowDialog)
show_dialog
CodeOfConduct(CodeOfConduct)
code_of_conduct
Implementations§
Trait Implementations§
Source§impl From<AddResourcePack<776>> for ClientboundConfigurationPacket
impl From<AddResourcePack<776>> for ClientboundConfigurationPacket
Source§fn from(p: AddResourcePack) -> Self
fn from(p: AddResourcePack) -> Self
Converts to this type from the input type.
Source§impl From<ClearDialog<776>> for ClientboundConfigurationPacket
impl From<ClearDialog<776>> for ClientboundConfigurationPacket
Source§fn from(p: ClearDialog) -> Self
fn from(p: ClearDialog) -> Self
Converts to this type from the input type.
Source§impl From<CodeOfConduct<776>> for ClientboundConfigurationPacket
impl From<CodeOfConduct<776>> for ClientboundConfigurationPacket
Source§fn from(p: CodeOfConduct) -> Self
fn from(p: CodeOfConduct) -> Self
Converts to this type from the input type.
Source§impl From<CookieRequest<776>> for ClientboundConfigurationPacket
impl From<CookieRequest<776>> for ClientboundConfigurationPacket
Source§fn from(p: CookieRequest) -> Self
fn from(p: CookieRequest) -> Self
Converts to this type from the input type.
Source§impl From<CustomPayload<776>> for ClientboundConfigurationPacket
impl From<CustomPayload<776>> for ClientboundConfigurationPacket
Source§fn from(p: CustomPayload) -> Self
fn from(p: CustomPayload) -> Self
Converts to this type from the input type.
Source§impl From<CustomReportDetails<776>> for ClientboundConfigurationPacket
impl From<CustomReportDetails<776>> for ClientboundConfigurationPacket
Source§fn from(p: CustomReportDetails) -> Self
fn from(p: CustomReportDetails) -> Self
Converts to this type from the input type.
Source§impl From<Disconnect<776>> for ClientboundConfigurationPacket
impl From<Disconnect<776>> for ClientboundConfigurationPacket
Source§fn from(p: Disconnect) -> Self
fn from(p: Disconnect) -> Self
Converts to this type from the input type.
Source§impl From<FeatureFlags<776>> for ClientboundConfigurationPacket
impl From<FeatureFlags<776>> for ClientboundConfigurationPacket
Source§fn from(p: FeatureFlags) -> Self
fn from(p: FeatureFlags) -> Self
Converts to this type from the input type.
Source§impl From<FinishConfiguration<776>> for ClientboundConfigurationPacket
impl From<FinishConfiguration<776>> for ClientboundConfigurationPacket
Source§fn from(p: FinishConfiguration) -> Self
fn from(p: FinishConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<KeepAlive<776>> for ClientboundConfigurationPacket
impl From<KeepAlive<776>> for ClientboundConfigurationPacket
Source§impl From<Ping<776>> for ClientboundConfigurationPacket
impl From<Ping<776>> for ClientboundConfigurationPacket
Source§impl From<RegistryData<776>> for ClientboundConfigurationPacket
impl From<RegistryData<776>> for ClientboundConfigurationPacket
Source§fn from(p: RegistryData) -> Self
fn from(p: RegistryData) -> Self
Converts to this type from the input type.
Source§impl From<RemoveResourcePack<776>> for ClientboundConfigurationPacket
impl From<RemoveResourcePack<776>> for ClientboundConfigurationPacket
Source§fn from(p: RemoveResourcePack) -> Self
fn from(p: RemoveResourcePack) -> Self
Converts to this type from the input type.
Source§impl From<ResetChat<776>> for ClientboundConfigurationPacket
impl From<ResetChat<776>> for ClientboundConfigurationPacket
Source§impl From<SelectKnownPacks<776>> for ClientboundConfigurationPacket
impl From<SelectKnownPacks<776>> for ClientboundConfigurationPacket
Source§fn from(p: SelectKnownPacks) -> Self
fn from(p: SelectKnownPacks) -> Self
Converts to this type from the input type.
Source§impl From<ServerLinks<776>> for ClientboundConfigurationPacket
impl From<ServerLinks<776>> for ClientboundConfigurationPacket
Source§fn from(p: ServerLinks) -> Self
fn from(p: ServerLinks) -> Self
Converts to this type from the input type.
Source§impl From<ShowDialog<776>> for ClientboundConfigurationPacket
impl From<ShowDialog<776>> for ClientboundConfigurationPacket
Source§fn from(p: ShowDialog) -> Self
fn from(p: ShowDialog) -> Self
Converts to this type from the input type.
Source§impl From<StoreCookie<776>> for ClientboundConfigurationPacket
impl From<StoreCookie<776>> for ClientboundConfigurationPacket
Source§fn from(p: StoreCookie) -> Self
fn from(p: StoreCookie) -> Self
Converts to this type from the input type.
Source§impl From<Tags<776>> for ClientboundConfigurationPacket
impl From<Tags<776>> for ClientboundConfigurationPacket
Source§impl From<Transfer<776>> for ClientboundConfigurationPacket
impl From<Transfer<776>> for ClientboundConfigurationPacket
Source§impl PacketSet for ClientboundConfigurationPacket
impl PacketSet for ClientboundConfigurationPacket
Source§fn decode_raw(raw: &RawPacket) -> DecodeResult<Self>
fn decode_raw(raw: &RawPacket) -> DecodeResult<Self>
Decodes a raw packet into the matching variant (strict: no trailing bytes).
Source§fn encode_body(&self, w: &mut BytesMut) -> EncodeResult
fn encode_body(&self, w: &mut BytesMut) -> EncodeResult
Encodes the packet body (without the id).
impl StructuralPartialEq for ClientboundConfigurationPacket
Auto Trait Implementations§
impl !Freeze for ClientboundConfigurationPacket
impl Forget for ClientboundConfigurationPacket
impl Move for ClientboundConfigurationPacket
impl RefUnwindSafe for ClientboundConfigurationPacket
impl Send for ClientboundConfigurationPacket
impl Sync for ClientboundConfigurationPacket
impl Unpin for ClientboundConfigurationPacket
impl UnsafeUnpin for ClientboundConfigurationPacket
impl UnwindSafe for ClientboundConfigurationPacket
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