Enum ark_api::applet::DetachPlayerError
source · #[non_exhaustive]
pub enum DetachPlayerError {
InvalidArguments,
Unknown,
}Expand description
Error for the detach_players api
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.
Trait Implementations§
source§impl Clone for DetachPlayerError
impl Clone for DetachPlayerError
source§fn clone(&self) -> DetachPlayerError
fn clone(&self) -> DetachPlayerError
Returns a copy 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 DetachPlayerError
impl Debug for DetachPlayerError
source§impl Display for DetachPlayerError
impl Display for DetachPlayerError
source§impl Error for DetachPlayerError
impl Error for DetachPlayerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ErrorCode> for DetachPlayerError
impl From<ErrorCode> for DetachPlayerError
source§impl PartialEq<DetachPlayerError> for DetachPlayerError
impl PartialEq<DetachPlayerError> for DetachPlayerError
source§fn eq(&self, other: &DetachPlayerError) -> bool
fn eq(&self, other: &DetachPlayerError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.