pub enum ParseScopeError {
Unknown(String),
NoScope,
}Expand description
Why a string is not a SwapScope or a RerouteScopes list.
Variants§
Unknown(String)
Not top-level, nested or venue; carries the input.
NoScope
A session that admits no scope reroutes nothing.
Trait Implementations§
Source§impl Debug for ParseScopeError
impl Debug for ParseScopeError
Source§impl Display for ParseScopeError
impl Display for ParseScopeError
Source§impl Error for ParseScopeError
impl Error for ParseScopeError
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()
Auto Trait Implementations§
impl Forget for ParseScopeError
impl Freeze for ParseScopeError
impl Move for ParseScopeError
impl RefUnwindSafe for ParseScopeError
impl Send for ParseScopeErrorwhere
RawVecInner: Send,
impl Sync for ParseScopeErrorwhere
RawVecInner: Sync,
impl Unpin for ParseScopeError
impl UnsafeUnpin for ParseScopeError
impl UnwindSafe for ParseScopeErrorwhere
RawVecInner: UnwindSafe,
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