#[non_exhaustive]pub enum RoleResolutionPolicy {
Exact,
AsciiCaseInsensitive,
Explicit,
}Expand description
Stable explanation of how one resolved role matched its delivered bone name.
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.
Exact
A built-in binding matched exactly (including its established namespace-stripped form).
AsciiCaseInsensitive
A built-in binding had no exact candidate and matched one unique ASCII-case-insensitive candidate.
Explicit
An exact user-supplied [rig.roles] binding supplied the name.
Implementations§
Trait Implementations§
Source§impl Clone for RoleResolutionPolicy
impl Clone for RoleResolutionPolicy
Source§fn clone(&self) -> RoleResolutionPolicy
fn clone(&self) -> RoleResolutionPolicy
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 RoleResolutionPolicy
Source§impl Debug for RoleResolutionPolicy
impl Debug for RoleResolutionPolicy
impl Eq for RoleResolutionPolicy
Source§impl PartialEq for RoleResolutionPolicy
impl PartialEq for RoleResolutionPolicy
impl StructuralPartialEq for RoleResolutionPolicy
Auto Trait Implementations§
impl Freeze for RoleResolutionPolicy
impl RefUnwindSafe for RoleResolutionPolicy
impl Send for RoleResolutionPolicy
impl Sync for RoleResolutionPolicy
impl Unpin for RoleResolutionPolicy
impl UnsafeUnpin for RoleResolutionPolicy
impl UnwindSafe for RoleResolutionPolicy
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