[−][src]Enum koibumi_core::object::TryIntoMsgError
This error indicates that the conversion from object to msg failed.
Variants
InvalidType(ObjectType)
Indicates that the type of the supplied object was not msg. The actual type of the object is returned as a payload of this variant.
IoError(Error)
A standard I/O error was caught during decrypting a message. The actual error caught is returned as a payload of this variant.
UnsupportedVersion(ObjectVersion)
Indicates that the version of the supplied object was not supported. The actual version of the object is returned as a payload of this variant.
Trait Implementations
impl Debug for TryIntoMsgError
[src]
impl Display for TryIntoMsgError
[src]
impl Error for TryIntoMsgError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for TryIntoMsgError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TryIntoMsgError
[src]
impl Send for TryIntoMsgError
[src]
impl Sync for TryIntoMsgError
[src]
impl Unpin for TryIntoMsgError
[src]
impl !UnwindSafe for TryIntoMsgError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,