pub enum ProstConvertError {
MissingRequiredField,
Infallible(Infallible),
AddrParseError(AddrParseError),
UuidEroor(Error),
TryFromIntError(TryFromIntError),
TypeParseError(Error),
}Variants§
MissingRequiredField
Infallible(Infallible)
AddrParseError(AddrParseError)
UuidEroor(Error)
TryFromIntError(TryFromIntError)
TypeParseError(Error)
Trait Implementations§
Source§impl Debug for ProstConvertError
impl Debug for ProstConvertError
Source§impl Display for ProstConvertError
impl Display for ProstConvertError
Source§impl Error for ProstConvertError
impl Error for ProstConvertError
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<AddrParseError> for ProstConvertError
impl From<AddrParseError> for ProstConvertError
Source§fn from(source: AddrParseError) -> Self
fn from(source: AddrParseError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ProstConvertError
impl From<Error> for ProstConvertError
Source§impl From<Error> for ProstConvertError
impl From<Error> for ProstConvertError
Source§impl From<Infallible> for ProstConvertError
impl From<Infallible> for ProstConvertError
Source§fn from(source: Infallible) -> Self
fn from(source: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<TryFromIntError> for ProstConvertError
impl From<TryFromIntError> for ProstConvertError
Source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProstConvertError
impl RefUnwindSafe for ProstConvertError
impl Send for ProstConvertError
impl Sync for ProstConvertError
impl Unpin for ProstConvertError
impl UnwindSafe for ProstConvertError
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
Source§impl<T, U> IntoProto<U> for Twhere
U: FromNative<T>,
impl<T, U> IntoProto<U> for Twhere
U: FromNative<T>,
Source§fn into_proto(self) -> U
fn into_proto(self) -> U
Performs the conversion.
Source§impl<T, U> TryFromProto<Option<U>> for Twhere
T: TryFromProto<U>,
impl<T, U> TryFromProto<Option<U>> for Twhere
T: TryFromProto<U>,
Source§fn try_from_proto(value: Option<U>) -> Result<T, ProstConvertError>
fn try_from_proto(value: Option<U>) -> Result<T, ProstConvertError>
Performs the conversion.
Source§impl<T, U> TryIntoNative<U> for Twhere
U: TryFromProto<T>,
impl<T, U> TryIntoNative<U> for Twhere
U: TryFromProto<T>,
Source§fn try_into_native(self) -> Result<U, ProstConvertError>
fn try_into_native(self) -> Result<U, ProstConvertError>
Performs the conversion.