Trait runestick::WithSpan [−][src]
Trait to coerce a result of a non-spanned error into a spanned error.
Required methods
fn with_span(self, span: Span) -> Result<T, SpannedError>
[src]
Convert the given result into a result which produces a spanned error.
Implementations on Foreign Types
impl<T, E> WithSpan<T> for Result<T, E> where
Error: From<E>,
[src]
Error: From<E>,
Blanket implementation that is helpful.