pub struct Domain<S> { /* private fields */ }Expand description
Fully validated driver layout plus its generative storage plan.
Implementations§
Source§impl<S> Domain<S>where
S: Direct,
impl<S> Domain<S>where
S: Direct,
pub fn enter_local<O, Done>( self, op: O, report: impl Observe, finish: impl for<'owner> FnOnce(Result<O::Output, EnterError<'owner, Infallible, O, O::Output>>) -> Done, ) -> Done
pub fn enter<C, O, Done>( self, ctx: C, op: O, report: impl Observe, finish: impl for<'owner> FnOnce(Result<O::Output, EnterError<'owner, Infallible, O, O::Output, C::Shutdown>>) -> Done, ) -> Done
Source§impl<S> Domain<S>where
S: Build,
impl<S> Domain<S>where
S: Build,
pub fn try_local<O, Done>( self, op: O, report: impl Observe, finish: impl for<'owner> FnOnce(Result<O::Output, EnterError<'owner, S::Error, O, O::Output>>) -> Done, ) -> Done
pub fn try_enter<C, O, Done>( self, ctx: C, op: O, report: impl Observe, finish: impl for<'owner> FnOnce(Result<O::Output, EnterError<'owner, S::Error, O, O::Output, C::Shutdown>>) -> Done, ) -> Done
Auto Trait Implementations§
impl<S> Freeze for Domain<S>where
S: Freeze,
impl<S> RefUnwindSafe for Domain<S>where
S: RefUnwindSafe,
impl<S> Send for Domain<S>where
S: Send,
impl<S> Sync for Domain<S>where
S: Sync,
impl<S> Unpin for Domain<S>where
S: Unpin,
impl<S> UnsafeUnpin for Domain<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Domain<S>where
S: 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