pub enum ResolutionError {
UnresolvedLid {
start: usize,
anchor: Option<String>,
},
UnresolvedCbId {
start: usize,
name: Option<String>,
},
UnknownContext {
start: usize,
},
RetiredNamespace {
token: String,
},
}Expand description
Resolution errors. All offset-based — no keys exist in the v0.16 model.
Variants§
UnresolvedLid
lid __BRAZESYNC__ could not be resolved from the remote body.
UnresolvedCbId
cb_id __BRAZESYNC__ could not be matched to a remote
${NAME} | id: 'cbN'.
UnknownContext
__BRAZESYNC__ appeared outside any recognized
| lid: / | id: argument position.
RetiredNamespace
Token uses the retired __BRAZESYNC.<…>__ envelope (legacy v0.15
syntax, or custom/global namespaces removed earlier). Surface
as fatal so operators re-run templatize.
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.