Enum MoosyncError
pub enum MoosyncError {
String(String),
Json(Error),
}
Variants§
Trait Implementations§
§impl Debug for MoosyncError
impl Debug for MoosyncError
§impl Display for MoosyncError
impl Display for MoosyncError
§impl Error for MoosyncError
impl Error for MoosyncError
§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()
§impl From<&'static str> for MoosyncError
impl From<&'static str> for MoosyncError
§fn from(value: &'static str) -> MoosyncError
fn from(value: &'static str) -> MoosyncError
Converts to this type from the input type.
§impl From<Error> for MoosyncError
impl From<Error> for MoosyncError
§fn from(source: Error) -> MoosyncError
fn from(source: Error) -> MoosyncError
Converts to this type from the input type.
§impl From<String> for MoosyncError
impl From<String> for MoosyncError
§fn from(value: String) -> MoosyncError
fn from(value: String) -> MoosyncError
Converts to this type from the input type.
§impl Serialize for MoosyncError
impl Serialize for MoosyncError
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MoosyncError
impl !RefUnwindSafe for MoosyncError
impl Send for MoosyncError
impl Sync for MoosyncError
impl Unpin for MoosyncError
impl !UnwindSafe for MoosyncError
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