#[repr(u8)]
pub enum PacketId {
Show 109 variants OSU_USER_CHANGE_ACTION, OSU_SEND_PUBLIC_MESSAGE, OSU_USER_LOGOUT, OSU_USER_REQUEST_STATUS_UPDATE, OSU_PING, BANCHO_USER_LOGIN_REPLY, BANCHO_SEND_MESSAGE, BANCHO_PONG, BANCHO_HANDLE_IRC_CHANGE_USERNAME, BANCHO_HANDLE_IRC_QUIT, BANCHO_USER_STATS, BANCHO_USER_LOGOUT, BANCHO_SPECTATOR_JOINED, BANCHO_SPECTATOR_LEFT, BANCHO_SPECTATE_FRAMES, OSU_SPECTATE_START, OSU_SPECTATE_STOP, OSU_SPECTATE_FRAMES, BANCHO_VERSION_UPDATE, OSU_ERROR_REPORT, OSU_SPECTATE_CANT, BANCHO_SPECTATOR_CANT_SPECTATE, BANCHO_GET_ATTENTION, BANCHO_NOTIFICATION, OSU_SEND_PRIVATE_MESSAGE, BANCHO_UPDATE_MATCH, BANCHO_NEW_MATCH, BANCHO_DISBAND_MATCH, OSU_USER_PART_LOBBY, OSU_USER_JOIN_LOBBY, OSU_USER_CREATE_MATCH, OSU_USER_JOIN_MATCH, OSU_USER_PART_MATCH, BANCHO_TOGGLE_BLOCK_NON_FRIEND_DMS, BANCHO_MATCH_JOIN_SUCCESS, BANCHO_MATCH_JOIN_FAIL, OSU_MATCH_CHANGE_SLOT, OSU_USER_MATCH_READY, OSU_MATCH_LOCK, OSU_MATCH_CHANGE_SETTINGS, BANCHO_FELLOW_SPECTATOR_JOINED, BANCHO_FELLOW_SPECTATOR_LEFT, OSU_MATCH_START, BANCHO_ALL_PLAYERS_LOADED, BANCHO_MATCH_START, OSU_MATCH_SCORE_UPDATE, BANCHO_MATCH_SCORE_UPDATE, OSU_MATCH_COMPLETE, BANCHO_MATCH_TRANSFER_HOST, OSU_MATCH_CHANGE_MODS, OSU_MATCH_LOAD_COMPLETE, BANCHO_MATCH_ALL_PLAYERS_LOADED, OSU_MATCH_NO_BEATMAP, OSU_MATCH_NOT_READY, OSU_MATCH_FAILED, BANCHO_MATCH_PLAYER_FAILED, BANCHO_MATCH_COMPLETE, OSU_MATCH_HAS_BEATMAP, OSU_MATCH_SKIP_REQUEST, BANCHO_MATCH_SKIP, BANCHO_UNAUTHORIZED, OSU_USER_CHANNEL_JOIN, BANCHO_CHANNEL_JOIN_SUCCESS, BANCHO_CHANNEL_INFO, BANCHO_CHANNEL_KICK, BANCHO_CHANNEL_AUTO_JOIN, OSU_BEATMAP_INFO_REQUEST, BANCHO_BEATMAP_INFO_REPLY, OSU_MATCH_TRANSFER_HOST, BANCHO_PRIVILEGES, BANCHO_FRIENDS_LIST, OSU_USER_FRIEND_ADD, OSU_USER_FRIEND_REMOVE, BANCHO_PROTOCOL_VERSION, BANCHO_MAIN_MENU_ICON, OSU_MATCH_CHANGE_TEAM, OSU_USER_CHANNEL_PART, OSU_USER_RECEIVE_UPDATES, BANCHO_MONITOR, BANCHO_MATCH_PLAYER_SKIPPED, OSU_USER_SET_AWAY_MESSAGE, BANCHO_USER_PRESENCE, OSU_IRC_ONLY, OSU_USER_STATS_REQUEST, BANCHO_RESTART, OSU_MATCH_INVITE, BANCHO_MATCH_INVITE, BANCHO_CHANNEL_INFO_END, OSU_MATCH_CHANGE_PASSWORD, BANCHO_MATCH_CHANGE_PASSWORD, BANCHO_SILENCE_END, OSU_TOURNAMENT_MATCH_INFO_REQUEST, BANCHO_USER_SILENCED, BANCHO_USER_PRESENCE_SINGLE, BANCHO_USER_PRESENCE_BUNDLE, OSU_USER_PRESENCE_REQUEST, OSU_USER_PRESENCE_REQUEST_ALL, OSU_USER_TOGGLE_BLOCK_NON_FRIEND_DMS, BANCHO_USER_DM_BLOCKED, BANCHO_TARGET_IS_SILENCED, BANCHO_VERSION_UPDATE_FORCED, BANCHO_SWITCH_SERVER, BANCHO_ACCOUNT_RESTRICTED, BANCHO_RTX, BANCHO_MATCH_ABORT, BANCHO_SWITCH_TOURNAMENT_SERVER, OSU_TOURNAMENT_JOIN_MATCH_CHANNEL, OSU_TOURNAMENT_LEAVE_MATCH_CHANNEL, OSU_UNKNOWN_PACKET,
}

Variants

OSU_USER_CHANGE_ACTION

Bancho packet ids

OSU_SEND_PUBLIC_MESSAGE

OSU_USER_LOGOUT

OSU_USER_REQUEST_STATUS_UPDATE

OSU_PING

BANCHO_USER_LOGIN_REPLY

BANCHO_SEND_MESSAGE

BANCHO_PONG

BANCHO_HANDLE_IRC_CHANGE_USERNAME

BANCHO_HANDLE_IRC_QUIT

BANCHO_USER_STATS

BANCHO_USER_LOGOUT

BANCHO_SPECTATOR_JOINED

BANCHO_SPECTATOR_LEFT

BANCHO_SPECTATE_FRAMES

OSU_SPECTATE_START

OSU_SPECTATE_STOP

OSU_SPECTATE_FRAMES

BANCHO_VERSION_UPDATE

OSU_ERROR_REPORT

OSU_SPECTATE_CANT

BANCHO_SPECTATOR_CANT_SPECTATE

BANCHO_GET_ATTENTION

BANCHO_NOTIFICATION

OSU_SEND_PRIVATE_MESSAGE

BANCHO_UPDATE_MATCH

BANCHO_NEW_MATCH

BANCHO_DISBAND_MATCH

OSU_USER_PART_LOBBY

OSU_USER_JOIN_LOBBY

OSU_USER_CREATE_MATCH

OSU_USER_JOIN_MATCH

OSU_USER_PART_MATCH

BANCHO_TOGGLE_BLOCK_NON_FRIEND_DMS

BANCHO_MATCH_JOIN_SUCCESS

BANCHO_MATCH_JOIN_FAIL

OSU_MATCH_CHANGE_SLOT

OSU_USER_MATCH_READY

OSU_MATCH_LOCK

OSU_MATCH_CHANGE_SETTINGS

BANCHO_FELLOW_SPECTATOR_JOINED

BANCHO_FELLOW_SPECTATOR_LEFT

OSU_MATCH_START

BANCHO_ALL_PLAYERS_LOADED

BANCHO_MATCH_START

OSU_MATCH_SCORE_UPDATE

BANCHO_MATCH_SCORE_UPDATE

OSU_MATCH_COMPLETE

BANCHO_MATCH_TRANSFER_HOST

OSU_MATCH_CHANGE_MODS

OSU_MATCH_LOAD_COMPLETE

BANCHO_MATCH_ALL_PLAYERS_LOADED

OSU_MATCH_NO_BEATMAP

OSU_MATCH_NOT_READY

OSU_MATCH_FAILED

BANCHO_MATCH_PLAYER_FAILED

BANCHO_MATCH_COMPLETE

OSU_MATCH_HAS_BEATMAP

OSU_MATCH_SKIP_REQUEST

BANCHO_MATCH_SKIP

BANCHO_UNAUTHORIZED

OSU_USER_CHANNEL_JOIN

BANCHO_CHANNEL_JOIN_SUCCESS

BANCHO_CHANNEL_INFO

BANCHO_CHANNEL_KICK

BANCHO_CHANNEL_AUTO_JOIN

OSU_BEATMAP_INFO_REQUEST

BANCHO_BEATMAP_INFO_REPLY

OSU_MATCH_TRANSFER_HOST

BANCHO_PRIVILEGES

BANCHO_FRIENDS_LIST

OSU_USER_FRIEND_ADD

OSU_USER_FRIEND_REMOVE

BANCHO_PROTOCOL_VERSION

BANCHO_MAIN_MENU_ICON

OSU_MATCH_CHANGE_TEAM

OSU_USER_CHANNEL_PART

OSU_USER_RECEIVE_UPDATES

BANCHO_MONITOR

BANCHO_MATCH_PLAYER_SKIPPED

OSU_USER_SET_AWAY_MESSAGE

BANCHO_USER_PRESENCE

OSU_IRC_ONLY

OSU_USER_STATS_REQUEST

BANCHO_RESTART

OSU_MATCH_INVITE

BANCHO_MATCH_INVITE

BANCHO_CHANNEL_INFO_END

OSU_MATCH_CHANGE_PASSWORD

BANCHO_MATCH_CHANGE_PASSWORD

BANCHO_SILENCE_END

OSU_TOURNAMENT_MATCH_INFO_REQUEST

BANCHO_USER_SILENCED

BANCHO_USER_PRESENCE_SINGLE

BANCHO_USER_PRESENCE_BUNDLE

OSU_USER_PRESENCE_REQUEST

OSU_USER_PRESENCE_REQUEST_ALL

OSU_USER_TOGGLE_BLOCK_NON_FRIEND_DMS

BANCHO_USER_DM_BLOCKED

BANCHO_TARGET_IS_SILENCED

BANCHO_VERSION_UPDATE_FORCED

BANCHO_SWITCH_SERVER

BANCHO_ACCOUNT_RESTRICTED

BANCHO_RTX

BANCHO_MATCH_ABORT

BANCHO_SWITCH_TOURNAMENT_SERVER

OSU_TOURNAMENT_JOIN_MATCH_CHANNEL

OSU_TOURNAMENT_LEAVE_MATCH_CHANNEL

OSU_UNKNOWN_PACKET

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Converts the value of self to a u64. If the value cannot be represented by a u64, then None is returned. Read more

Converts the value of self to an i64. If the value cannot be represented by an i64, then None is returned. Read more

Converts the value of self to an isize. If the value cannot be represented by an isize, then None is returned. Read more

Converts the value of self to an i8. If the value cannot be represented by an i8, then None is returned. Read more

Converts the value of self to an i16. If the value cannot be represented by an i16, then None is returned. Read more

Converts the value of self to an i32. If the value cannot be represented by an i32, then None is returned. Read more

Converts the value of self to an i128. If the value cannot be represented by an i128 (i64 under the default implementation), then None is returned. Read more

Converts the value of self to a usize. If the value cannot be represented by a usize, then None is returned. Read more

Converts the value of self to a u8. If the value cannot be represented by a u8, then None is returned. Read more

Converts the value of self to a u16. If the value cannot be represented by a u16, then None is returned. Read more

Converts the value of self to a u32. If the value cannot be represented by a u32, then None is returned. Read more

Converts the value of self to a u128. If the value cannot be represented by a u128 (u64 under the default implementation), then None is returned. Read more

Converts the value of self to an f32. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f32. Read more

Converts the value of self to an f64. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot be represented by an f64. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.