pub enum PinnedPoolMsg {
Acquire {
len_bytes: usize,
reply: Sender<Result<PinnedBufHandle, GpuError>>,
},
InternalReturn {
slot: PinnedSlot,
generation: u64,
},
Stats {
reply: Sender<PinnedPoolStats>,
},
}Expand description
Public messages.
Variants§
Acquire
InternalReturn
Drop-driven return path used by PinnedBuf::Drop. Not part of
the public API for callers.
Stats
Fields
§
reply: Sender<PinnedPoolStats>Auto Trait Implementations§
impl Freeze for PinnedPoolMsg
impl !RefUnwindSafe for PinnedPoolMsg
impl Send for PinnedPoolMsg
impl Sync for PinnedPoolMsg
impl Unpin for PinnedPoolMsg
impl UnsafeUnpin for PinnedPoolMsg
impl !UnwindSafe for PinnedPoolMsg
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