pub enum Detection {
InvalidValue(Violation),
Corrupt,
}Expand description
What a consumer’s binding detected in a payload.
Variants§
InvalidValue(Violation)
The payload breaks a typl constraint: INVALID_VALUE, ridl §10.2.
Corrupt
The payload is not a well-formed encoding: a serialization failure, ridl §10.3.
Trait Implementations§
impl Copy for Detection
impl Eq for Detection
impl StructuralPartialEq for Detection
Auto Trait Implementations§
impl Freeze for Detection
impl RefUnwindSafe for Detection
impl Send for Detection
impl Sync for Detection
impl Unpin for Detection
impl UnsafeUnpin for Detection
impl UnwindSafe for Detection
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