pub enum FactionError {
NotEnoughPower,
Unclaimable,
PvpDenied,
UseDenied,
}Expand description
Errors that can occur while using factions.
Variants§
NotEnoughPower
You don’t have enough power to claim terrain.
Unclaimable
You cannot claim this terrain.
PvpDenied
The pvp is not allowed in this terrain.
UseDenied
You cannot use an item in this terrain.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FactionError
impl RefUnwindSafe for FactionError
impl Send for FactionError
impl Sync for FactionError
impl Unpin for FactionError
impl UnwindSafe for FactionError
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