Enum GroupError
#[non_exhaustive]pub enum GroupError {
Stale,
Model(ModelError),
NonFinite,
InvalidLight,
OutOfRange,
CapacityExceeded,
Translucent,
}Expand description
Why a persistent group operation was refused. Errors leave storage and view unchanged.
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.
Stale
The group belongs to another mod, was destroyed, its owner was disabled, or its world/resources retired. Re-enabling or slot reuse cannot revive it.
Model(ModelError)
The model could not be resolved.
NonFinite
An origin or transform component is not finite.
InvalidLight
A light channel is outside 0..=15.
OutOfRange
The range exceeds reserved capacity.
CapacityExceeded
The mod’s reserved capacity or the view budget would be exceeded.
Translucent
Translucent models cannot use this route.
Trait Implementations§
§impl Clone for GroupError
impl Clone for GroupError
§fn clone(&self) -> GroupError
fn clone(&self) -> GroupError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GroupError
§impl Debug for GroupError
impl Debug for GroupError
impl Eq for GroupError
§impl From<InstanceError> for GroupError
impl From<InstanceError> for GroupError
§fn from(error: InstanceError) -> GroupError
fn from(error: InstanceError) -> GroupError
Converts to this type from the input type.
§impl PartialEq for GroupError
impl PartialEq for GroupError
impl StructuralPartialEq for GroupError
Auto Trait Implementations§
impl Freeze for GroupError
impl RefUnwindSafe for GroupError
impl Send for GroupError
impl Sync for GroupError
impl Unpin for GroupError
impl UnsafeUnpin for GroupError
impl UnwindSafe for GroupError
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