pub enum ExtraNamespaceMatch {
Argument {
index: usize,
full_namespace: String,
},
Option {
argument_index: usize,
full_namespace: String,
},
Fixed {
full_namespace: String,
},
}Expand description
How the namespace of an extra caller call-site was statically matched.
Variants§
Argument
Positional argument at index held the namespace string.
Option
The namespace was read from a property of the options-object argument.
Fixed
The namespace is a compile-time constant.
Implementations§
Source§impl ExtraNamespaceMatch
impl ExtraNamespaceMatch
Sourcepub fn full_namespace(&self) -> &str
pub fn full_namespace(&self) -> &str
The matched namespace, including any dictionaryKey.keyPrefix suffix.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtraNamespaceMatch
impl RefUnwindSafe for ExtraNamespaceMatch
impl Send for ExtraNamespaceMatch
impl Sync for ExtraNamespaceMatch
impl Unpin for ExtraNamespaceMatch
impl UnsafeUnpin for ExtraNamespaceMatch
impl UnwindSafe for ExtraNamespaceMatch
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more