pub enum SpliceDescriptorErr {
InvalidDescriptorLength(usize),
NotEnoughData {
field_name: &'static str,
expected: usize,
actual: usize,
},
SegmentationUpidLengthTypeMismatch(SegmentationUpidType),
InvalidUpidContent {
upid_type: SegmentationUpidType,
bytes: Vec<u8>,
},
InvalidUpidLength {
upid_type: SegmentationUpidType,
expected: usize,
actual: usize,
},
}
Variants§
InvalidDescriptorLength(usize)
NotEnoughData
SegmentationUpidLengthTypeMismatch(SegmentationUpidType)
The segmentation_upid_length field value was 0
, but the segmentation_upid_type value was
non-0
(as indicated by the given SegmentationUpidType
enum variant)
InvalidUpidContent
The UPID field contained byte values that are invalid for the given UPID type
InvalidUpidLength
The UPID field had a length invalid for its type
Trait Implementations§
source§impl Debug for SpliceDescriptorErr
impl Debug for SpliceDescriptorErr
Auto Trait Implementations§
impl RefUnwindSafe for SpliceDescriptorErr
impl Send for SpliceDescriptorErr
impl Sync for SpliceDescriptorErr
impl Unpin for SpliceDescriptorErr
impl UnwindSafe for SpliceDescriptorErr
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