pub enum ClanRefusal {
NotFound,
Denied,
Precondition,
Invalid,
Exists,
}Expand description
Which kind of no a clan verb answered (Error::Clan).
Variants§
NotFound
No such clan (or not one the caller may see).
Denied
The caller may not: it is not the clan’s admin, or not its member.
Precondition
The rule says no: room, the floor, the last admin, an employee.
Invalid
The request itself is malformed.
Exists
The name is taken (reason is then the noun: “a clan called x”).
Trait Implementations§
Source§impl Clone for ClanRefusal
impl Clone for ClanRefusal
impl Copy for ClanRefusal
Source§impl Debug for ClanRefusal
impl Debug for ClanRefusal
impl Eq for ClanRefusal
Source§impl PartialEq for ClanRefusal
impl PartialEq for ClanRefusal
impl StructuralPartialEq for ClanRefusal
Auto Trait Implementations§
impl Freeze for ClanRefusal
impl RefUnwindSafe for ClanRefusal
impl Send for ClanRefusal
impl Sync for ClanRefusal
impl Unpin for ClanRefusal
impl UnsafeUnpin for ClanRefusal
impl UnwindSafe for ClanRefusal
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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