pub enum BatchValidationError {
SegmentCountMismatch {
tokens: usize,
bytes: usize,
},
ByteLengthMismatch {
expected: u64,
actual: u64,
},
}Variants§
SegmentCountMismatch
segment_tokens and segment_bytes have different lengths.
ByteLengthMismatch
Sum of segment_bytes doesn’t match xdr length.
Trait Implementations§
Source§impl Clone for BatchValidationError
impl Clone for BatchValidationError
Source§fn clone(&self) -> BatchValidationError
fn clone(&self) -> BatchValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BatchValidationError
impl Debug for BatchValidationError
Source§impl Display for BatchValidationError
Available on crate feature std only.
impl Display for BatchValidationError
Available on crate feature
std only.impl Eq for BatchValidationError
Source§impl PartialEq for BatchValidationError
impl PartialEq for BatchValidationError
impl StructuralPartialEq for BatchValidationError
Auto Trait Implementations§
impl Freeze for BatchValidationError
impl RefUnwindSafe for BatchValidationError
impl Send for BatchValidationError
impl Sync for BatchValidationError
impl Unpin for BatchValidationError
impl UnsafeUnpin for BatchValidationError
impl UnwindSafe for BatchValidationError
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