Enum automerge_wasm::error::Fork
source · pub enum Fork {
BadActor(BadActorId),
Automerge(AutomergeError),
BadChangeHashes(BadChangeHashes),
}
Variants§
Trait Implementations§
source§impl Error for Fork
impl Error for Fork
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 Fork
impl From<AutomergeError> for Fork
source§fn from(source: AutomergeError) -> Self
fn from(source: AutomergeError) -> Self
Converts to this type from the input type.
source§impl From<BadActorId> for Fork
impl From<BadActorId> for Fork
source§fn from(source: BadActorId) -> Self
fn from(source: BadActorId) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Fork
impl Send for Fork
impl Sync for Fork
impl Unpin for Fork
impl !UnwindSafe for Fork
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