pub enum EntityServiceError {
NotFound(String),
AlreadyExists(String),
MemberNotFound(String),
MemberAlreadyExists(String),
Crdt(CrdtError),
Serialization(Error),
Io(Error),
}Expand description
Entity service errors
Variants§
NotFound(String)
AlreadyExists(String)
MemberNotFound(String)
MemberAlreadyExists(String)
Crdt(CrdtError)
Serialization(Error)
Io(Error)
Trait Implementations§
Source§impl Debug for EntityServiceError
impl Debug for EntityServiceError
Source§impl Display for EntityServiceError
impl Display for EntityServiceError
Source§impl Error for EntityServiceError
impl Error for EntityServiceError
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 From<CrdtError> for EntityServiceError
impl From<CrdtError> for EntityServiceError
Source§impl From<EntityServiceError> for LinkingError
impl From<EntityServiceError> for LinkingError
Source§fn from(source: EntityServiceError) -> Self
fn from(source: EntityServiceError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for EntityServiceError
impl From<Error> for EntityServiceError
Auto Trait Implementations§
impl Freeze for EntityServiceError
impl !RefUnwindSafe for EntityServiceError
impl Send for EntityServiceError
impl Sync for EntityServiceError
impl Unpin for EntityServiceError
impl !UnwindSafe for EntityServiceError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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