Struct maitake::task::BoxStorage
source · pub struct BoxStorage;
Available on crate feature
alloc
only.Expand description
A type representing Box
storage of a task
Trait Implementations§
source§impl<S, F: Future> Storage<S, F> for BoxStorage
impl<S, F: Future> Storage<S, F> for BoxStorage
§type StoredTask = Box<Task<S, F, BoxStorage>>
type StoredTask = Box<Task<S, F, BoxStorage>>
The type of a stored Task. Read more
source§fn into_raw(
task: Box<Task<S, F, BoxStorage>>
) -> NonNull<Task<S, F, BoxStorage>>
fn into_raw( task: Box<Task<S, F, BoxStorage>> ) -> NonNull<Task<S, F, BoxStorage>>
source§fn from_raw(ptr: NonNull<Task<S, F, BoxStorage>>) -> Box<Task<S, F, BoxStorage>>
fn from_raw(ptr: NonNull<Task<S, F, BoxStorage>>) -> Box<Task<S, F, BoxStorage>>
Convert a raw task pointer into an owned, heap
allocated [
Task`] type Read moreAuto Trait Implementations§
impl RefUnwindSafe for BoxStorage
impl Send for BoxStorage
impl Sync for BoxStorage
impl Unpin for BoxStorage
impl UnwindSafe for BoxStorage
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