#[repr(u32)]pub enum OutgoingRpcMethods {
Show 17 variants
NotificationServerStarted = 0,
NotificationServerStopping = 1,
NotificationServerSaving = 2,
NotificationServerSaved = 3,
NotificationServerActivity = 4,
NotificationPlayersJoined = 5,
NotificationPlayersLeft = 6,
NotificationOperatorsAdded = 7,
NotificationOperatorsRemoved = 8,
NotificationAllowlistAdded = 9,
NotificationAllowlistRemoved = 10,
NotificationIpBansAdded = 11,
NotificationIpBansRemoved = 12,
NotificationBansAdded = 13,
NotificationBansRemoved = 14,
NotificationGamerulesUpdated = 15,
NotificationServerStatus = 16,
}Variants§
NotificationServerStarted = 0
NotificationServerStopping = 1
NotificationServerSaving = 2
NotificationServerSaved = 3
NotificationServerActivity = 4
NotificationPlayersJoined = 5
NotificationPlayersLeft = 6
NotificationOperatorsAdded = 7
NotificationOperatorsRemoved = 8
NotificationAllowlistAdded = 9
NotificationAllowlistRemoved = 10
NotificationIpBansAdded = 11
NotificationIpBansRemoved = 12
NotificationBansAdded = 13
NotificationBansRemoved = 14
NotificationGamerulesUpdated = 15
NotificationServerStatus = 16
Implementations§
Source§impl OutgoingRpcMethods
impl OutgoingRpcMethods
pub fn azalea_read_id( buf: &mut Cursor<&[u8]>, id: u32, ) -> Result<Self, BufReadError>
Source§impl OutgoingRpcMethods
impl OutgoingRpcMethods
Sourcepub unsafe fn from_u32_unchecked(id: u32) -> Self
pub unsafe fn from_u32_unchecked(id: u32) -> Self
pub fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl AzaleaRead for OutgoingRpcMethods
impl AzaleaRead for OutgoingRpcMethods
fn azalea_read(buf: &mut Cursor<&[u8]>) -> Result<Self, BufReadError>
Source§impl AzaleaWrite for OutgoingRpcMethods
impl AzaleaWrite for OutgoingRpcMethods
Source§impl Clone for OutgoingRpcMethods
impl Clone for OutgoingRpcMethods
Source§fn clone(&self) -> OutgoingRpcMethods
fn clone(&self) -> OutgoingRpcMethods
Returns a duplicate 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 OutgoingRpcMethods
impl Debug for OutgoingRpcMethods
Source§impl<'de> Deserialize<'de> for OutgoingRpcMethods
Available on crate feature serde only.
impl<'de> Deserialize<'de> for OutgoingRpcMethods
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OutgoingRpcMethods
impl Display for OutgoingRpcMethods
Source§impl FromNbtTag for OutgoingRpcMethods
impl FromNbtTag for OutgoingRpcMethods
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for OutgoingRpcMethods
impl FromStr for OutgoingRpcMethods
Source§impl Hash for OutgoingRpcMethods
impl Hash for OutgoingRpcMethods
Source§impl Ord for OutgoingRpcMethods
impl Ord for OutgoingRpcMethods
Source§fn cmp(&self, other: &OutgoingRpcMethods) -> Ordering
fn cmp(&self, other: &OutgoingRpcMethods) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutgoingRpcMethods
impl PartialEq for OutgoingRpcMethods
Source§impl PartialOrd for OutgoingRpcMethods
impl PartialOrd for OutgoingRpcMethods
Source§impl Registry for OutgoingRpcMethods
impl Registry for OutgoingRpcMethods
Source§impl Serialize for OutgoingRpcMethods
Available on crate feature serde only.
impl Serialize for OutgoingRpcMethods
Available on crate feature
serde only.Source§impl ToNbtTag for OutgoingRpcMethods
impl ToNbtTag for OutgoingRpcMethods
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl<'a> TryFrom<&'a Identifier> for OutgoingRpcMethods
impl<'a> TryFrom<&'a Identifier> for OutgoingRpcMethods
Source§impl TryFrom<u32> for OutgoingRpcMethods
impl TryFrom<u32> for OutgoingRpcMethods
impl Copy for OutgoingRpcMethods
impl Eq for OutgoingRpcMethods
impl StructuralPartialEq for OutgoingRpcMethods
Auto Trait Implementations§
impl Freeze for OutgoingRpcMethods
impl RefUnwindSafe for OutgoingRpcMethods
impl Send for OutgoingRpcMethods
impl Sync for OutgoingRpcMethods
impl Unpin for OutgoingRpcMethods
impl UnwindSafe for OutgoingRpcMethods
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.