pub enum SgfToolError {
SyntaxIssue,
RootObjectNotFound,
ParseFailed,
InvalidNumber,
InvalidString,
InvalidFloat,
PlayerInformationNotValid,
PointInformationNotValid,
NodeInformationNotValid,
}
Variants§
SyntaxIssue
RootObjectNotFound
ParseFailed
InvalidNumber
InvalidString
InvalidFloat
PlayerInformationNotValid
PointInformationNotValid
NodeInformationNotValid
Trait Implementations§
Source§impl Clone for SgfToolError
impl Clone for SgfToolError
Source§fn clone(&self) -> SgfToolError
fn clone(&self) -> SgfToolError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SgfToolError
impl Debug for SgfToolError
Source§impl<'de> Deserialize<'de> for SgfToolError
impl<'de> Deserialize<'de> for SgfToolError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SgfToolError
impl Display for SgfToolError
Source§impl Error for SgfToolError
impl Error for SgfToolError
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 PartialEq for SgfToolError
impl PartialEq for SgfToolError
Source§impl Serialize for SgfToolError
impl Serialize for SgfToolError
impl StructuralPartialEq for SgfToolError
Auto Trait Implementations§
impl Freeze for SgfToolError
impl RefUnwindSafe for SgfToolError
impl Send for SgfToolError
impl Sync for SgfToolError
impl Unpin for SgfToolError
impl UnwindSafe for SgfToolError
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