Enum automerge_wasm::error::InsertObject
source · pub enum InsertObject {
ImportObj(ImportObj),
ValueNotObject,
Automerge(AutomergeError),
InvalidProp(InvalidProp),
InvalidValue(InvalidValue),
}
Variants§
ImportObj(ImportObj)
ValueNotObject
Automerge(AutomergeError)
InvalidProp(InvalidProp)
InvalidValue(InvalidValue)
Trait Implementations§
source§impl Debug for InsertObject
impl Debug for InsertObject
source§impl Display for InsertObject
impl Display for InsertObject
source§impl Error for InsertObject
impl Error for InsertObject
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<AutomergeError> for InsertObject
impl From<AutomergeError> for InsertObject
source§fn from(source: AutomergeError) -> Self
fn from(source: AutomergeError) -> Self
Converts to this type from the input type.
source§impl From<InsertObject> for JsValue
impl From<InsertObject> for JsValue
source§fn from(e: InsertObject) -> Self
fn from(e: InsertObject) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InsertObject
impl Send for InsertObject
impl Sync for InsertObject
impl Unpin for InsertObject
impl !UnwindSafe for InsertObject
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