pub enum ResolutionError {
UnknownKey {
ty: PlaceholderType,
key: String,
start: usize,
},
DuplicateLidKey {
key: String,
occurrences: Vec<usize>,
},
RetiredNamespace {
token: String,
},
}Variants§
UnknownKey
DuplicateLidKey
lid is per-click-context — reuse of the same key is an error.
RetiredNamespace
Token uses the __BRAZESYNC. prefix but with a retired namespace
(e.g. custom, global) that is no longer resolved.
Trait Implementations§
Source§impl Clone for ResolutionError
impl Clone for ResolutionError
Source§fn clone(&self) -> ResolutionError
fn clone(&self) -> ResolutionError
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 ResolutionError
impl Debug for ResolutionError
Source§impl PartialEq for ResolutionError
impl PartialEq for ResolutionError
Source§fn eq(&self, other: &ResolutionError) -> bool
fn eq(&self, other: &ResolutionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResolutionError
impl StructuralPartialEq for ResolutionError
Auto Trait Implementations§
impl Freeze for ResolutionError
impl RefUnwindSafe for ResolutionError
impl Send for ResolutionError
impl Sync for ResolutionError
impl Unpin for ResolutionError
impl UnsafeUnpin for ResolutionError
impl UnwindSafe for ResolutionError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.