pub struct Desc(pub DescType, pub DriverRange);Expand description
Reference to descriptor data.
Provides a higher level representation of a descriptors payload, compared to what
ring::Desc::data reports. The conversion of a ring::Desc into a Desc necessitates some
error checking and can fail with a DescError::BadRange.
Is provided as a DriverRange as the DescChain and its iterator have no
way to translate a DriverRange and this responsibility is offloaded to the caller.
Tuple Fields§
§0: DescType§1: DriverRangeTrait Implementations§
impl Eq for Desc
impl StructuralPartialEq for Desc
Auto Trait Implementations§
impl Freeze for Desc
impl RefUnwindSafe for Desc
impl Send for Desc
impl Sync for Desc
impl Unpin for Desc
impl UnwindSafe for Desc
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