pub enum KvHashingError {
MmInfo(MmInfoError),
TokenBlock(TokenBlockError),
SaltSerialization(Error),
MissingField(&'static str),
}Expand description
Errors raised while constructing a crate::Request or computing block hashes.
Variants§
MmInfo(MmInfoError)
Multimodal info validation failed.
TokenBlock(TokenBlockError)
An error originating from dynamo_tokens block formation.
SaltSerialization(Error)
Salt payload could not be canonicalized for hashing.
In practice this is unreachable for the field types we serialize, but the path is preserved so the public API never panics on serialization.
MissingField(&'static str)
A required field was not set on the crate::RequestBuilder.
Trait Implementations§
Source§impl Debug for KvHashingError
impl Debug for KvHashingError
Source§impl Display for KvHashingError
impl Display for KvHashingError
Source§impl Error for KvHashingError
impl Error for KvHashingError
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<Error> for KvHashingError
impl From<Error> for KvHashingError
Source§impl From<MmInfoError> for KvHashingError
impl From<MmInfoError> for KvHashingError
Source§fn from(source: MmInfoError) -> Self
fn from(source: MmInfoError) -> Self
Converts to this type from the input type.
Source§impl From<TokenBlockError> for KvHashingError
impl From<TokenBlockError> for KvHashingError
Source§fn from(source: TokenBlockError) -> Self
fn from(source: TokenBlockError) -> Self
Converts to this type from the input type.
Source§impl From<UninitializedFieldError> for KvHashingError
impl From<UninitializedFieldError> for KvHashingError
Source§fn from(e: UninitializedFieldError) -> Self
fn from(e: UninitializedFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KvHashingError
impl !UnwindSafe for KvHashingError
impl Freeze for KvHashingError
impl Send for KvHashingError
impl Sync for KvHashingError
impl Unpin for KvHashingError
impl UnsafeUnpin for KvHashingError
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