#[repr(C)]pub struct fdf_dispatcher_shutdown_observer {
pub handler: fdf_dispatcher_shutdown_handler_t,
}Expand description
Holds context for the observer which will be called when the dispatcher’s asynchronous shutdown has completed.
After creating the dispatcher, the client is responsible for retaining this structure in memory (and unmodified) until the handler runs.
Fields§
§handler: fdf_dispatcher_shutdown_handler_tTrait Implementations§
Source§impl Clone for fdf_dispatcher_shutdown_observer
impl Clone for fdf_dispatcher_shutdown_observer
Source§fn clone(&self) -> fdf_dispatcher_shutdown_observer
fn clone(&self) -> fdf_dispatcher_shutdown_observer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for fdf_dispatcher_shutdown_observer
impl Default for fdf_dispatcher_shutdown_observer
Source§fn default() -> fdf_dispatcher_shutdown_observer
fn default() -> fdf_dispatcher_shutdown_observer
Returns the “default value” for a type. Read more
impl Copy for fdf_dispatcher_shutdown_observer
Auto Trait Implementations§
impl Freeze for fdf_dispatcher_shutdown_observer
impl RefUnwindSafe for fdf_dispatcher_shutdown_observer
impl Send for fdf_dispatcher_shutdown_observer
impl Sync for fdf_dispatcher_shutdown_observer
impl Unpin for fdf_dispatcher_shutdown_observer
impl UnsafeUnpin for fdf_dispatcher_shutdown_observer
impl UnwindSafe for fdf_dispatcher_shutdown_observer
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