#[non_exhaustive]pub enum Unresolved {
Keep,
Empty,
Error,
}Expand description
Treatment of an eligible reference with no value from the lookup order.
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.
Keep
Leave the reference exactly as written.
Empty
Substitute an empty string.
Error
Return ResolveError::Unresolved.
Trait Implementations§
Source§impl Clone for Unresolved
impl Clone for Unresolved
impl Copy for Unresolved
Source§impl Debug for Unresolved
impl Debug for Unresolved
impl Eq for Unresolved
Source§impl Hash for Unresolved
impl Hash for Unresolved
Source§impl PartialEq for Unresolved
impl PartialEq for Unresolved
impl StructuralPartialEq for Unresolved
Auto Trait Implementations§
impl Freeze for Unresolved
impl RefUnwindSafe for Unresolved
impl Send for Unresolved
impl Sync for Unresolved
impl Unpin for Unresolved
impl UnsafeUnpin for Unresolved
impl UnwindSafe for Unresolved
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