pub enum MessageParseErrorKind {
NoMessage,
MissingParameters,
ParameterParseError,
ValueParseError,
}
Variants§
NoMessage
No message in the string was found.
MissingParameters
Required parameters are missing.
ParameterParseError
A required parameter could not be parsed.
ValueParseError
The required value of the message could not be parsed.
Trait Implementations§
Source§impl Clone for MessageParseErrorKind
impl Clone for MessageParseErrorKind
Source§fn clone(&self) -> MessageParseErrorKind
fn clone(&self) -> MessageParseErrorKind
Returns a duplicate 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 MessageParseErrorKind
impl Debug for MessageParseErrorKind
Source§impl<'de> Deserialize<'de> for MessageParseErrorKind
impl<'de> Deserialize<'de> for MessageParseErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MessageParseErrorKind
impl Hash for MessageParseErrorKind
Source§impl PartialEq for MessageParseErrorKind
impl PartialEq for MessageParseErrorKind
Source§impl Serialize for MessageParseErrorKind
impl Serialize for MessageParseErrorKind
impl Copy for MessageParseErrorKind
impl Eq for MessageParseErrorKind
impl StructuralPartialEq for MessageParseErrorKind
Auto Trait Implementations§
impl Freeze for MessageParseErrorKind
impl RefUnwindSafe for MessageParseErrorKind
impl Send for MessageParseErrorKind
impl Sync for MessageParseErrorKind
impl Unpin for MessageParseErrorKind
impl UnwindSafe for MessageParseErrorKind
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