pub enum LicensingError {
MarktrolleRequired,
RoleNotPermitted,
RoleNotConfigured,
}Expand description
Why resolve_role rejected a command submission.
Variants§
MarktrolleRequired
The command permits several roles and the caller asserted none — the engine cannot infer which hat the caller is wearing.
RoleNotPermitted
The asserted role is not in the command’s permitted set.
RoleNotConfigured
The effective role is not among the deployment’s configured roles.
Trait Implementations§
Source§impl Clone for LicensingError
impl Clone for LicensingError
Source§fn clone(&self) -> LicensingError
fn clone(&self) -> LicensingError
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 LicensingError
Source§impl Debug for LicensingError
impl Debug for LicensingError
Source§impl Display for LicensingError
impl Display for LicensingError
impl Eq for LicensingError
Source§impl Error for LicensingError
impl Error for LicensingError
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 LicensingError
impl PartialEq for LicensingError
impl StructuralPartialEq for LicensingError
Auto Trait Implementations§
impl Freeze for LicensingError
impl RefUnwindSafe for LicensingError
impl Send for LicensingError
impl Sync for LicensingError
impl Unpin for LicensingError
impl UnsafeUnpin for LicensingError
impl UnwindSafe for LicensingError
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