pub struct Marked<T> { /* fields omitted */ }
Expand description
A value marked with its source location.
This wrapper is used when data needs to be resolved after parsing has finished. In this case, we need information about the source location to be able to produce meaningful error messages.
Implementations
Resolves the position for the given config file.
Converts the marked value into is unmarked value.
Marks some other value with this value’s position.
Formats the mark for displaying.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Marked<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Marked<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
The equivalent of Access::load
.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more