Enum chorus::types::GuildError
source · pub enum GuildError {
InvalidGuildFeature,
}
Variants§
InvalidGuildFeature
Trait Implementations§
source§impl Debug for GuildError
impl Debug for GuildError
source§impl Display for GuildError
impl Display for GuildError
source§impl Error for GuildError
impl Error for GuildError
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<GuildError> for Error
impl From<GuildError> for Error
source§fn from(source: GuildError) -> Self
fn from(source: GuildError) -> Self
Converts to this type from the input type.
source§impl PartialEq<GuildError> for GuildError
impl PartialEq<GuildError> for GuildError
source§fn eq(&self, other: &GuildError) -> bool
fn eq(&self, other: &GuildError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GuildError
impl StructuralEq for GuildError
impl StructuralPartialEq for GuildError
Auto Trait Implementations§
impl RefUnwindSafe for GuildError
impl Send for GuildError
impl Sync for GuildError
impl Unpin for GuildError
impl UnwindSafe for GuildError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.