pub enum RoleTableError {
UnknownRole {
role: String,
includes: String,
},
}Expand description
Why RoleTable::define refused a role.
Variants§
UnknownRole
An entry named a role that is not (yet) defined. A role may only include roles defined before it, which is what keeps inclusion acyclic.
Trait Implementations§
Source§impl Clone for RoleTableError
impl Clone for RoleTableError
Source§impl Debug for RoleTableError
impl Debug for RoleTableError
Source§impl Display for RoleTableError
impl Display for RoleTableError
impl Eq for RoleTableError
Source§impl Error for RoleTableError
impl Error for RoleTableError
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 PartialEq for RoleTableError
impl PartialEq for RoleTableError
impl StructuralPartialEq for RoleTableError
Auto Trait Implementations§
impl Freeze for RoleTableError
impl RefUnwindSafe for RoleTableError
impl Send for RoleTableError
impl Sync for RoleTableError
impl Unpin for RoleTableError
impl UnsafeUnpin for RoleTableError
impl UnwindSafe for RoleTableError
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