#[non_exhaustive]pub enum ModelProviderReplayError {
PayloadMustBeArray,
DigestMismatch,
}Expand description
Invalid opaque provider replay evidence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PayloadMustBeArray
Provider continuation fragments are ordered arrays.
DigestMismatch
Persisted digest did not match canonical payload bytes.
Trait Implementations§
Source§impl Clone for ModelProviderReplayError
impl Clone for ModelProviderReplayError
Source§impl Debug for ModelProviderReplayError
impl Debug for ModelProviderReplayError
Source§impl Display for ModelProviderReplayError
impl Display for ModelProviderReplayError
impl Eq for ModelProviderReplayError
Source§impl Error for ModelProviderReplayError
impl Error for ModelProviderReplayError
1.30.0 · 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 PartialEq for ModelProviderReplayError
impl PartialEq for ModelProviderReplayError
impl StructuralPartialEq for ModelProviderReplayError
Auto Trait Implementations§
impl Forget for ModelProviderReplayError
impl Freeze for ModelProviderReplayError
impl Move for ModelProviderReplayError
impl RefUnwindSafe for ModelProviderReplayError
impl Send for ModelProviderReplayError
impl Sync for ModelProviderReplayError
impl Unpin for ModelProviderReplayError
impl UnsafeUnpin for ModelProviderReplayError
impl UnwindSafe for ModelProviderReplayError
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