pub struct SgfError {
pub kind: SgfErrorKind,
/* private fields */
}
Expand description
SGF parsing, or traversal, related errors
Fields§
§kind: SgfErrorKind
Implementations§
Trait Implementations§
Source§impl Error for SgfError
impl Error for SgfError
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<SgfErrorKind> for SgfError
impl From<SgfErrorKind> for SgfError
Source§fn from(kind: SgfErrorKind) -> SgfError
fn from(kind: SgfErrorKind) -> SgfError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SgfError
impl !RefUnwindSafe for SgfError
impl Send for SgfError
impl Sync for SgfError
impl Unpin for SgfError
impl !UnwindSafe for SgfError
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