Enum lu_packets::unified::Message
source · [−]#[non_exhaustive]
#[repr(u8)]
pub enum Message {
InternalPing(InternalPing),
ConnectedPong(ConnectedPong),
ConnectionRequest(ConnectionRequest),
ConnectionRequestAccepted(ConnectionRequestAccepted),
NewIncomingConnection(NewIncomingConnection),
DisconnectionNotification,
ReplicaConstruction(ReplicaConstruction),
ReplicaSerialization(ReplicaSerialization),
UserMessage(UserMessage),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InternalPing(InternalPing)
ConnectedPong(ConnectedPong)
ConnectionRequest(ConnectionRequest)
ConnectionRequestAccepted(ConnectionRequestAccepted)
NewIncomingConnection(NewIncomingConnection)
DisconnectionNotification
ReplicaConstruction(ReplicaConstruction)
ReplicaSerialization(ReplicaSerialization)
UserMessage(UserMessage)
Trait Implementations
sourceimpl<__ENDIO_ENDIANNESS: Endianness, __ENDIO_READER: Read + ERead<__ENDIO_ENDIANNESS>> Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER> for Messagewhere
u8: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
InternalPing: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ConnectedPong: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ConnectionRequest: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ConnectionRequestAccepted: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
NewIncomingConnection: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ReplicaConstruction: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ReplicaSerialization: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
UserMessage: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
impl<__ENDIO_ENDIANNESS: Endianness, __ENDIO_READER: Read + ERead<__ENDIO_ENDIANNESS>> Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER> for Messagewhere
u8: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
InternalPing: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ConnectedPong: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ConnectionRequest: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ConnectionRequestAccepted: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
NewIncomingConnection: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ReplicaConstruction: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
ReplicaSerialization: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
UserMessage: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
sourcefn deserialize(reader: &mut __ENDIO_READER) -> Result<Self>
fn deserialize(reader: &mut __ENDIO_READER) -> Result<Self>
Deserializes the type by reading from the reader.
sourceimpl From<AchievementNotify> for Message
impl From<AchievementNotify> for Message
sourcefn from(msg: AchievementNotify) -> Self
fn from(msg: AchievementNotify) -> Self
Converts to this type from the input type.
sourceimpl From<AddFriendRequest> for Message
impl From<AddFriendRequest> for Message
sourcefn from(msg: AddFriendRequest) -> Self
fn from(msg: AddFriendRequest) -> Self
Converts to this type from the input type.
sourceimpl From<AddFriendRequest> for Message
impl From<AddFriendRequest> for Message
sourcefn from(msg: ChatAddFriendRequest) -> Self
fn from(msg: ChatAddFriendRequest) -> Self
Converts to this type from the input type.
sourceimpl From<AddFriendResponse> for Message
impl From<AddFriendResponse> for Message
sourcefn from(msg: AddFriendResponse) -> Self
fn from(msg: AddFriendResponse) -> Self
Converts to this type from the input type.
sourceimpl From<AddFriendResponse> for Message
impl From<AddFriendResponse> for Message
sourcefn from(msg: ChatAddFriendResponse) -> Self
fn from(msg: ChatAddFriendResponse) -> Self
Converts to this type from the input type.
sourceimpl From<AnyChatMessage> for Message
impl From<AnyChatMessage> for Message
sourcefn from(msg: AnyChatMessage) -> Self
fn from(msg: AnyChatMessage) -> Self
Converts to this type from the input type.
sourceimpl From<AnyClientMessage> for Message
impl From<AnyClientMessage> for Message
sourcefn from(msg: AnyClientMessage) -> Self
fn from(msg: AnyClientMessage) -> Self
Converts to this type from the input type.
sourceimpl From<AuthMessage> for Message
impl From<AuthMessage> for Message
sourcefn from(msg: AuthMessage) -> Self
fn from(msg: AuthMessage) -> Self
Converts to this type from the input type.
sourceimpl From<BlueprintLoadItemResponse> for Message
impl From<BlueprintLoadItemResponse> for Message
sourcefn from(msg: BlueprintLoadItemResponse) -> Self
fn from(msg: BlueprintLoadItemResponse) -> Self
Converts to this type from the input type.
sourceimpl From<BlueprintSaveResponse> for Message
impl From<BlueprintSaveResponse> for Message
sourcefn from(msg: BlueprintSaveResponse) -> Self
fn from(msg: BlueprintSaveResponse) -> Self
Converts to this type from the input type.
sourceimpl From<CharacterCreateResponse> for Message
impl From<CharacterCreateResponse> for Message
sourcefn from(msg: CharacterCreateResponse) -> Self
fn from(msg: CharacterCreateResponse) -> Self
Converts to this type from the input type.
sourceimpl From<CharacterDeleteResponse> for Message
impl From<CharacterDeleteResponse> for Message
sourcefn from(msg: CharacterDeleteResponse) -> Self
fn from(msg: CharacterDeleteResponse) -> Self
Converts to this type from the input type.
sourceimpl From<CharacterListResponse> for Message
impl From<CharacterListResponse> for Message
sourcefn from(msg: CharacterListResponse) -> Self
fn from(msg: CharacterListResponse) -> Self
Converts to this type from the input type.
sourceimpl From<ChatModerationString> for Message
impl From<ChatModerationString> for Message
sourcefn from(msg: ChatModerationString) -> Self
fn from(msg: ChatModerationString) -> Self
Converts to this type from the input type.
sourceimpl From<ConnectedPong> for Message
impl From<ConnectedPong> for Message
sourcefn from(msg: ConnectedPong) -> Self
fn from(msg: ConnectedPong) -> Self
Converts to this type from the input type.
sourceimpl From<ConnectionRequest> for Message
impl From<ConnectionRequest> for Message
sourcefn from(msg: ConnectionRequest) -> Self
fn from(msg: ConnectionRequest) -> Self
Converts to this type from the input type.
sourceimpl From<ConnectionRequestAccepted> for Message
impl From<ConnectionRequestAccepted> for Message
sourcefn from(msg: ConnectionRequestAccepted) -> Self
fn from(msg: ConnectionRequestAccepted) -> Self
Converts to this type from the input type.
sourceimpl From<CreateCharacter> for Message
impl From<CreateCharacter> for Message
sourcefn from(msg: CreateCharacter) -> Self
fn from(msg: CreateCharacter) -> Self
Converts to this type from the input type.
sourceimpl From<FriendUpdateNotify> for Message
impl From<FriendUpdateNotify> for Message
sourcefn from(msg: FriendUpdateNotify) -> Self
fn from(msg: FriendUpdateNotify) -> Self
Converts to this type from the input type.
sourceimpl From<GeneralChatMessage> for Message
impl From<GeneralChatMessage> for Message
sourcefn from(msg: GeneralChatMessage) -> Self
fn from(msg: GeneralChatMessage) -> Self
Converts to this type from the input type.
sourceimpl From<GeneralMessage> for Message
impl From<GeneralMessage> for Message
sourcefn from(msg: GeneralMessage) -> Self
fn from(msg: GeneralMessage) -> Self
Converts to this type from the input type.
sourceimpl From<GetFriendsListResponse> for Message
impl From<GetFriendsListResponse> for Message
sourcefn from(msg: GetFriendsListResponse) -> Self
fn from(msg: GetFriendsListResponse) -> Self
Converts to this type from the input type.
sourceimpl From<GetIgnoreListResponse> for Message
impl From<GetIgnoreListResponse> for Message
sourcefn from(msg: GetIgnoreListResponse) -> Self
fn from(msg: GetIgnoreListResponse) -> Self
Converts to this type from the input type.
sourceimpl From<InternalPing> for Message
impl From<InternalPing> for Message
sourcefn from(msg: InternalPing) -> Self
fn from(msg: InternalPing) -> Self
Converts to this type from the input type.
sourceimpl From<LoadStaticZone> for Message
impl From<LoadStaticZone> for Message
sourcefn from(msg: LoadStaticZone) -> Self
fn from(msg: LoadStaticZone) -> Self
Converts to this type from the input type.
sourceimpl From<LoginResponse> for Message
impl From<LoginResponse> for Message
sourcefn from(msg: LoginResponse) -> Self
fn from(msg: LoginResponse) -> Self
Converts to this type from the input type.
sourceimpl From<MinimumChatModeResponse> for Message
impl From<MinimumChatModeResponse> for Message
sourcefn from(msg: MinimumChatModeResponse) -> Self
fn from(msg: MinimumChatModeResponse) -> Self
Converts to this type from the input type.
sourceimpl From<MinimumChatModeResponsePrivate> for Message
impl From<MinimumChatModeResponsePrivate> for Message
sourcefn from(msg: MinimumChatModeResponsePrivate) -> Self
fn from(msg: MinimumChatModeResponsePrivate) -> Self
Converts to this type from the input type.
sourceimpl From<NewIncomingConnection> for Message
impl From<NewIncomingConnection> for Message
sourcefn from(msg: NewIncomingConnection) -> Self
fn from(msg: NewIncomingConnection) -> Self
Converts to this type from the input type.
sourceimpl From<PrivateChatMessage> for Message
impl From<PrivateChatMessage> for Message
sourcefn from(msg: PrivateChatMessage) -> Self
fn from(msg: PrivateChatMessage) -> Self
Converts to this type from the input type.
sourceimpl From<ReplicaConstruction> for Message
impl From<ReplicaConstruction> for Message
sourcefn from(msg: ReplicaConstruction) -> Self
fn from(msg: ReplicaConstruction) -> Self
Converts to this type from the input type.
sourceimpl From<ReplicaSerialization> for Message
impl From<ReplicaSerialization> for Message
sourcefn from(msg: ReplicaSerialization) -> Self
fn from(msg: ReplicaSerialization) -> Self
Converts to this type from the input type.
sourceimpl From<RequestMinimumChatMode> for Message
impl From<RequestMinimumChatMode> for Message
sourcefn from(msg: RequestMinimumChatMode) -> Self
fn from(msg: RequestMinimumChatMode) -> Self
Converts to this type from the input type.
sourceimpl From<RequestMinimumChatModePrivate> for Message
impl From<RequestMinimumChatModePrivate> for Message
sourcefn from(msg: RequestMinimumChatModePrivate) -> Self
fn from(msg: RequestMinimumChatModePrivate) -> Self
Converts to this type from the input type.
sourceimpl From<SubjectGameMessage> for Message
impl From<SubjectGameMessage> for Message
sourcefn from(msg: SubjectGameMessage) -> Self
fn from(msg: SubjectGameMessage) -> Self
Converts to this type from the input type.
sourceimpl From<TeamInvite> for Message
impl From<TeamInvite> for Message
sourcefn from(msg: TeamInvite) -> Self
fn from(msg: TeamInvite) -> Self
Converts to this type from the input type.
sourceimpl From<TeamInvite> for Message
impl From<TeamInvite> for Message
sourcefn from(msg: ChatTeamInvite) -> Self
fn from(msg: ChatTeamInvite) -> Self
Converts to this type from the input type.
sourceimpl From<TeamInviteResponse> for Message
impl From<TeamInviteResponse> for Message
sourcefn from(msg: TeamInviteResponse) -> Self
fn from(msg: TeamInviteResponse) -> Self
Converts to this type from the input type.
sourceimpl From<TransferToWorld> for Message
impl From<TransferToWorld> for Message
sourcefn from(msg: TransferToWorld) -> Self
fn from(msg: TransferToWorld) -> Self
Converts to this type from the input type.
sourceimpl From<UpdateFreeTrialStatus> for Message
impl From<UpdateFreeTrialStatus> for Message
sourcefn from(msg: UpdateFreeTrialStatus) -> Self
fn from(msg: UpdateFreeTrialStatus) -> Self
Converts to this type from the input type.
sourceimpl From<UserMessage> for Message
impl From<UserMessage> for Message
sourcefn from(msg: UserMessage) -> Self
fn from(msg: UserMessage) -> Self
Converts to this type from the input type.
sourceimpl From<WorldMessage> for Message
impl From<WorldMessage> for Message
sourcefn from(msg: WorldMessage) -> Self
fn from(msg: WorldMessage) -> Self
Converts to this type from the input type.
sourceimpl<'__ENDIO_LIFETIME, __ENDIO_ENDIANNESS: Endianness, __ENDIO_WRITER: Write + EWrite<__ENDIO_ENDIANNESS>> Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER> for &'__ENDIO_LIFETIME Messagewhere
u8: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME InternalPing: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ConnectedPong: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ConnectionRequest: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ConnectionRequestAccepted: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME NewIncomingConnection: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ReplicaConstruction: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ReplicaSerialization: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME UserMessage: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
impl<'__ENDIO_LIFETIME, __ENDIO_ENDIANNESS: Endianness, __ENDIO_WRITER: Write + EWrite<__ENDIO_ENDIANNESS>> Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER> for &'__ENDIO_LIFETIME Messagewhere
u8: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME InternalPing: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ConnectedPong: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ConnectionRequest: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ConnectionRequestAccepted: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME NewIncomingConnection: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ReplicaConstruction: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME ReplicaSerialization: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
&'__ENDIO_LIFETIME UserMessage: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
impl StructuralPartialEq for Message
Auto Trait Implementations
impl !RefUnwindSafe for Message
impl !Send for Message
impl !Sync for Message
impl Unpin for Message
impl !UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more