pub struct AsyncCompletionPayload {
pub id: u64,
pub window_id: TeksiloWindowId,
}Expand description
Send payload posted through AppEventPoster when
an async task completes. teksilo-app downcasts it, routes to the target
window’s tree, and calls AsyncCompletionHandle::deliver with a fresh
context. Carries only ids — the (!Send) callback stays in the registry.
Fields§
§id: u64§window_id: TeksiloWindowIdTrait Implementations§
Source§impl Clone for AsyncCompletionPayload
impl Clone for AsyncCompletionPayload
Source§fn clone(&self) -> AsyncCompletionPayload
fn clone(&self) -> AsyncCompletionPayload
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 moreimpl Copy for AsyncCompletionPayload
Auto Trait Implementations§
impl Freeze for AsyncCompletionPayload
impl RefUnwindSafe for AsyncCompletionPayload
impl Send for AsyncCompletionPayload
impl Sync for AsyncCompletionPayload
impl Unpin for AsyncCompletionPayload
impl UnsafeUnpin for AsyncCompletionPayload
impl UnwindSafe for AsyncCompletionPayload
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