Enum entromatica::error::ResourceCapacityError
source · pub enum ResourceCapacityError {
NotFound(NotFoundError<ResourceName, (EntityName, Entity)>),
OutOfRange(OutOfRangeError<Amount>),
}Variants§
NotFound(NotFoundError<ResourceName, (EntityName, Entity)>)
OutOfRange(OutOfRangeError<Amount>)
Trait Implementations§
source§impl Clone for ResourceCapacityError
impl Clone for ResourceCapacityError
source§fn clone(&self) -> ResourceCapacityError
fn clone(&self) -> ResourceCapacityError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResourceCapacityError
impl Debug for ResourceCapacityError
source§impl PartialEq<ResourceCapacityError> for ResourceCapacityError
impl PartialEq<ResourceCapacityError> for ResourceCapacityError
source§fn eq(&self, other: &ResourceCapacityError) -> bool
fn eq(&self, other: &ResourceCapacityError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.