pub enum Rejection {
Reserved(Entity),
Capacity,
Domain(DomainError),
Store(StoreError),
Restore(RestoreError),
Cancelled,
Unsupported(&'static str),
Edit(EditError),
}Variants§
Reserved(Entity)
Capacity
Domain(DomainError)
Store(StoreError)
Restore(RestoreError)
Cancelled
Unsupported(&'static str)
Edit(EditError)
A world-owned edit refused the command before any change.
Trait Implementations§
Source§impl From<DomainError> for Rejection
impl From<DomainError> for Rejection
Source§fn from(error: DomainError) -> Self
fn from(error: DomainError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for Rejection
impl From<StoreError> for Rejection
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
impl Copy for Rejection
impl Eq for Rejection
impl StructuralPartialEq for Rejection
Auto Trait Implementations§
impl Freeze for Rejection
impl RefUnwindSafe for Rejection
impl Send for Rejection
impl Sync for Rejection
impl Unpin for Rejection
impl UnsafeUnpin for Rejection
impl UnwindSafe for Rejection
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