pub trait Guard<C: Context>: Sized {
// Required method
fn submit(
self,
request: <<C as Context>::Native as Source<<C as Context>::Inputs>>::Raw,
key: C::Key,
);
}Expand description
A reserved native submission slot, consumed before the host commits its flight.
Required Methods§
fn submit( self, request: <<C as Context>::Native as Source<<C as Context>::Inputs>>::Raw, key: C::Key, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".