pub enum SgfErrorKind {
ParseError,
VariationNotFound,
InvalidRootTokenPlacement,
}
Expand description
Describes what kind of error we’re dealing with
Variants§
Trait Implementations§
Source§impl Debug for SgfErrorKind
impl Debug for SgfErrorKind
Source§impl Display for SgfErrorKind
impl Display for SgfErrorKind
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.
Source§impl PartialEq for SgfErrorKind
impl PartialEq for SgfErrorKind
impl Eq for SgfErrorKind
impl StructuralPartialEq for SgfErrorKind
Auto Trait Implementations§
impl Freeze for SgfErrorKind
impl RefUnwindSafe for SgfErrorKind
impl Send for SgfErrorKind
impl Sync for SgfErrorKind
impl Unpin for SgfErrorKind
impl UnwindSafe for SgfErrorKind
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