pub struct TagSet<T: Operations> { /* private fields */ }Expand description
A wrapper for the C struct blk_mq_tag_set.
struct blk_mq_tag_set contains a struct list_head and so must be pinned.
§Invariants
inneris initialized and valid.
Implementations§
source§impl<T: Operations> TagSet<T>
impl<T: Operations> TagSet<T>
sourcepub fn project<'__pin>(
self: Pin<&'__pin mut Self>
) -> TagSetProjection<'__pin, T>
pub fn project<'__pin>( self: Pin<&'__pin mut Self> ) -> TagSetProjection<'__pin, T>
Pin-projects all fields of Self.
These fields are structurally pinned:
inner
These fields are not structurally pinned:
_p
Trait Implementations§
source§impl<T: Operations> Drop for TagSet<T>
impl<T: Operations> Drop for TagSet<T>
source§impl<T: Operations> HasPinData for TagSet<T>
impl<T: Operations> HasPinData for TagSet<T>
type PinData = __ThePinData<T>
unsafe fn __pin_data() -> Self::PinData
Auto Trait Implementations§
impl<T> !Freeze for TagSet<T>
impl<T> !RefUnwindSafe for TagSet<T>
impl<T> !Send for TagSet<T>
impl<T> !Sync for TagSet<T>
impl<T> UnwindSafe for TagSet<T>where
T: UnwindSafe,
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
source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more