pub struct FinalizerCall<'a> {
pub package: &'a str,
pub key: &'a [u16],
pub value: &'a [u16],
}Expand description
One registered cleanup: the package that registered it and the key and value it registered, as the UTF-16 units the session finalizer provider received.
Fields§
§package: &'a str§key: &'a [u16]§value: &'a [u16]The JSON text registration serialized the value to.
Trait Implementations§
Source§impl<'a> Clone for FinalizerCall<'a>
impl<'a> Clone for FinalizerCall<'a>
impl<'a> Copy for FinalizerCall<'a>
Auto Trait Implementations§
impl<'a> Freeze for FinalizerCall<'a>
impl<'a> RefUnwindSafe for FinalizerCall<'a>
impl<'a> Send for FinalizerCall<'a>
impl<'a> Sync for FinalizerCall<'a>
impl<'a> Unpin for FinalizerCall<'a>
impl<'a> UnsafeUnpin for FinalizerCall<'a>
impl<'a> UnwindSafe for FinalizerCall<'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