#[repr(C)]pub struct fdf_token {
pub handler: fdf_token_transfer_handler_t,
}Expand description
Holds context for a registered token which is waiting for an fdf handle to be transferred.
After successfully registering the protocol, the client is responsible for retaining the structure in memory (and unmodified) until the transfer handler runs. Thereafter, this structure may be registered again or destroyed.
Fields§
§handler: fdf_token_transfer_handler_tTrait Implementations§
impl Copy for fdf_token
Auto Trait Implementations§
impl Freeze for fdf_token
impl RefUnwindSafe for fdf_token
impl Send for fdf_token
impl Sync for fdf_token
impl Unpin for fdf_token
impl UnsafeUnpin for fdf_token
impl UnwindSafe for fdf_token
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