pub enum ScopesError {
Vlq(DecodeError),
UnmatchedScopeEnd,
UnclosedScope,
UnmatchedRangeEnd,
UnclosedRange,
InvalidNameIndex(i64),
}Expand description
Errors during scopes decoding.
Variants§
Vlq(DecodeError)
VLQ decoding failed.
UnmatchedScopeEnd
Scope end without matching scope start.
UnclosedScope
Scope was opened but never closed.
UnmatchedRangeEnd
Range end without matching range start.
UnclosedRange
Range was opened but never closed.
InvalidNameIndex(i64)
Name index out of bounds.
Trait Implementations§
Source§impl Debug for ScopesError
impl Debug for ScopesError
Source§impl Display for ScopesError
impl Display for ScopesError
Source§impl Error for ScopesError
impl Error for ScopesError
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<DecodeError> for ScopesError
impl From<DecodeError> for ScopesError
Source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScopesError
impl RefUnwindSafe for ScopesError
impl Send for ScopesError
impl Sync for ScopesError
impl Unpin for ScopesError
impl UnsafeUnpin for ScopesError
impl UnwindSafe for ScopesError
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