pub struct ThrottleHook(/* private fields */);
Trait Implementations§
Source§impl Hook for ThrottleHook
impl Hook for ThrottleHook
fn boot_manager<'life0, 'async_trait>(
&'life0 self,
request: BootManagerRequest,
) -> Pin<Box<dyn Future<Output = Option<BootManagerRequest>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn data_sink<'life0, 'async_trait>(
&'life0 self,
request: DataSinkRequest,
) -> Pin<Box<dyn Future<Output = Option<DataSinkRequest>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for ThrottleHook
impl !RefUnwindSafe for ThrottleHook
impl Send for ThrottleHook
impl Sync for ThrottleHook
impl Unpin for ThrottleHook
impl !UnwindSafe for ThrottleHook
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