Enum soroban_env_guest::xdr::next::Error
pub enum Error {
Invalid,
Unsupported,
LengthExceedsMax,
LengthMismatch,
NonZeroPadding,
Utf8Error(Utf8Error),
}
Expand description
Error contains all errors returned by functions in this crate. It can be
compared via PartialEq
, however any contained IO errors will only be
compared on their ErrorKind
.
Variants§
Trait Implementations§
source§impl From<Error> for ConversionError
impl From<Error> for ConversionError
source§fn from(_: Error) -> ConversionError
fn from(_: Error) -> ConversionError
Converts to this type from the input type.
§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
§fn from(_: TryFromSliceError) -> Error
fn from(_: TryFromSliceError) -> Error
Converts to this type from the input type.