pub enum ScipImportError {
Json(String),
}Expand description
Failure while importing the compact SCIP JSON schema.
§Examples
use ailloli_ui_editor::{code::import_scip_json_str, ScipImportError};
assert!(matches!(import_scip_json_str("not json"), Err(ScipImportError::Json(_))));Variants§
Trait Implementations§
Source§impl Clone for ScipImportError
impl Clone for ScipImportError
Source§fn clone(&self) -> ScipImportError
fn clone(&self) -> ScipImportError
Returns a copy 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 ScipImportError
impl Debug for ScipImportError
Source§impl PartialEq for ScipImportError
impl PartialEq for ScipImportError
impl Eq for ScipImportError
impl StructuralPartialEq for ScipImportError
Auto Trait Implementations§
impl Freeze for ScipImportError
impl RefUnwindSafe for ScipImportError
impl Send for ScipImportError
impl Sync for ScipImportError
impl Unpin for ScipImportError
impl UnwindSafe for ScipImportError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.