Enum gb_io::seq::LocationError
source · [−]pub enum LocationError {
Ambiguous(Location),
External(Location, Box<dyn Error>),
Recursion(Location),
Empty,
OutOfBounds(Location),
}
Variants
Ambiguous(Location)
External(Location, Box<dyn Error>)
Recursion(Location)
Empty
OutOfBounds(Location)
Trait Implementations
sourceimpl Debug for LocationError
impl Debug for LocationError
sourceimpl Display for LocationError
impl Display for LocationError
sourceimpl Error for LocationError
impl Error for LocationError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl !RefUnwindSafe for LocationError
impl !Send for LocationError
impl !Sync for LocationError
impl Unpin for LocationError
impl !UnwindSafe for LocationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more