#[repr(u32)]pub enum OutgoingRpcMethods {
Show 16 variants
    NotificationServerStarted = 0,
    NotificationServerStopping = 1,
    NotificationServerSaving = 2,
    NotificationServerSaved = 3,
    NotificationPlayersJoined = 4,
    NotificationPlayersLeft = 5,
    NotificationOperatorsAdded = 6,
    NotificationOperatorsRemoved = 7,
    NotificationAllowlistAdded = 8,
    NotificationAllowlistRemoved = 9,
    NotificationIpBansAdded = 10,
    NotificationIpBansRemoved = 11,
    NotificationBansAdded = 12,
    NotificationBansRemoved = 13,
    NotificationGamerulesUpdated = 14,
    NotificationServerStatus = 15,
}Variants§
NotificationServerStarted = 0
NotificationServerStopping = 1
NotificationServerSaving = 2
NotificationServerSaved = 3
NotificationPlayersJoined = 4
NotificationPlayersLeft = 5
NotificationOperatorsAdded = 6
NotificationOperatorsRemoved = 7
NotificationAllowlistAdded = 8
NotificationAllowlistRemoved = 9
NotificationIpBansAdded = 10
NotificationIpBansRemoved = 11
NotificationBansAdded = 12
NotificationBansRemoved = 13
NotificationGamerulesUpdated = 14
NotificationServerStatus = 15
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 PartialEq for OutgoingRpcMethods
 
impl PartialEq 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 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> 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.