pub struct Dispatch<'a> { /* private fields */ }Expand description
Single-use, non-Clone, borrowed from a held journal. The future installed host must accept this token, not a free Request. No engine execution exists here.
ⓘ
let forged = gatehouse_runtime_protocol::lifecycle::journal::Dispatch { journal: unimplemented!() };ⓘ
fn duplicate(token: gatehouse_runtime_protocol::lifecycle::journal::Dispatch<'_>) {
let _ = token.clone();
}Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for Dispatch<'a>
impl<'a> Freeze for Dispatch<'a>
impl<'a> RefUnwindSafe for Dispatch<'a>
impl<'a> Send for Dispatch<'a>
impl<'a> Sync for Dispatch<'a>
impl<'a> Unpin for Dispatch<'a>
impl<'a> UnsafeUnpin for Dispatch<'a>
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