pub enum ChainLayoutError {
DescriptorCount,
ZeroLength,
Direction,
LengthOverflow,
PortLengthMismatch,
}Expand description
Failure to validate the device-specific flattened chain layout.
Variants§
DescriptorCount
The chain contains fewer than two or more than the configured maximum descriptors.
ZeroLength
A descriptor has zero length.
Direction
A readable descriptor follows a writable descriptor, or one direction is missing.
LengthOverflow
A readable or writable byte total overflowed u64.
PortLengthMismatch
The mapped byte ports do not exactly match the flattened descriptor totals.
Trait Implementations§
Source§impl Clone for ChainLayoutError
impl Clone for ChainLayoutError
Source§fn clone(&self) -> ChainLayoutError
fn clone(&self) -> ChainLayoutError
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 moreimpl Copy for ChainLayoutError
Source§impl Debug for ChainLayoutError
impl Debug for ChainLayoutError
impl Eq for ChainLayoutError
Source§impl PartialEq for ChainLayoutError
impl PartialEq for ChainLayoutError
impl StructuralPartialEq for ChainLayoutError
Auto Trait Implementations§
impl Freeze for ChainLayoutError
impl RefUnwindSafe for ChainLayoutError
impl Send for ChainLayoutError
impl Sync for ChainLayoutError
impl Unpin for ChainLayoutError
impl UnsafeUnpin for ChainLayoutError
impl UnwindSafe for ChainLayoutError
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