pub enum MalformedChain {
DescriptorLoop,
DescriptorIndex,
DescriptorFlags,
DescriptorCount,
ZeroLength,
Direction,
LengthOverflow,
PortLengthMismatch,
IndirectUnsupported,
IndirectMalformed,
Address,
}Expand description
Structurally malformed descriptor-chain classification.
Variants§
DescriptorLoop
A descriptor chain contains a loop.
DescriptorIndex
A descriptor index is outside the configured queue.
DescriptorFlags
A descriptor contains flags outside the negotiated split-ring profile.
DescriptorCount
The flattened descriptor count is invalid.
ZeroLength
A descriptor has zero length.
Direction
Readable and writable descriptor ordering is invalid.
LengthOverflow
Descriptor byte totals overflow.
PortLengthMismatch
Mapped byte ports do not match descriptor byte totals.
IndirectUnsupported
An indirect descriptor was offered without negotiation.
IndirectMalformed
An indirect descriptor table is structurally invalid.
Address
A descriptor range cannot be mapped for the required access.
Trait Implementations§
Source§impl Clone for MalformedChain
impl Clone for MalformedChain
Source§fn clone(&self) -> MalformedChain
fn clone(&self) -> MalformedChain
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 MalformedChain
Source§impl Debug for MalformedChain
impl Debug for MalformedChain
impl Eq for MalformedChain
Source§impl From<ChainLayoutError> for MalformedChain
impl From<ChainLayoutError> for MalformedChain
Source§fn from(error: ChainLayoutError) -> Self
fn from(error: ChainLayoutError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MalformedChain
impl PartialEq for MalformedChain
Source§fn eq(&self, other: &MalformedChain) -> bool
fn eq(&self, other: &MalformedChain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MalformedChain
Auto Trait Implementations§
impl Freeze for MalformedChain
impl RefUnwindSafe for MalformedChain
impl Send for MalformedChain
impl Sync for MalformedChain
impl Unpin for MalformedChain
impl UnsafeUnpin for MalformedChain
impl UnwindSafe for MalformedChain
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