pub enum RoleProjectionError {
Limit {
limit: usize,
required: usize,
},
Arena(ArenaError),
}Expand description
A failed bounded role-evidence projection.
Variants§
Limit
The requested projection would exceed its explicit row limit.
Fields
Arena(ArenaError)
The arena rejected the safepoint.
Trait Implementations§
Source§impl Clone for RoleProjectionError
impl Clone for RoleProjectionError
Source§fn clone(&self) -> RoleProjectionError
fn clone(&self) -> RoleProjectionError
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 moreSource§impl Debug for RoleProjectionError
impl Debug for RoleProjectionError
Source§impl Display for RoleProjectionError
impl Display for RoleProjectionError
impl Eq for RoleProjectionError
Source§impl Error for RoleProjectionError
impl Error for RoleProjectionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ArenaError> for RoleProjectionError
impl From<ArenaError> for RoleProjectionError
Source§fn from(error: ArenaError) -> Self
fn from(error: ArenaError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RoleProjectionError
impl PartialEq for RoleProjectionError
impl StructuralPartialEq for RoleProjectionError
Auto Trait Implementations§
impl Freeze for RoleProjectionError
impl RefUnwindSafe for RoleProjectionError
impl Send for RoleProjectionError
impl Sync for RoleProjectionError
impl Unpin for RoleProjectionError
impl UnsafeUnpin for RoleProjectionError
impl UnwindSafe for RoleProjectionError
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