pub enum MissingReference {
MissingUri(u32),
MissingAnchor(ExtensionKind, u32),
MissingName(ExtensionKind, String),
Mismatched(ExtensionKind, String, u32),
DuplicateName(ExtensionKind, String),
}
Variants§
MissingUri(u32)
MissingAnchor(ExtensionKind, u32)
MissingName(ExtensionKind, String)
Mismatched(ExtensionKind, String, u32)
When the name of the value does not match the expected name
DuplicateName(ExtensionKind, String)
Trait Implementations§
Source§impl Clone for MissingReference
impl Clone for MissingReference
Source§fn clone(&self) -> MissingReference
fn clone(&self) -> MissingReference
Returns a copy of the value. Read more
1.0.0 · 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 MissingReference
impl Debug for MissingReference
Source§impl Display for MissingReference
impl Display for MissingReference
Source§impl Error for MissingReference
impl Error for MissingReference
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 From<MissingReference> for FormatError
impl From<MissingReference> for FormatError
Source§fn from(source: MissingReference) -> Self
fn from(source: MissingReference) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MissingReference
impl PartialEq for MissingReference
impl StructuralPartialEq for MissingReference
Auto Trait Implementations§
impl Freeze for MissingReference
impl RefUnwindSafe for MissingReference
impl Send for MissingReference
impl Sync for MissingReference
impl Unpin for MissingReference
impl UnwindSafe for MissingReference
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