Struct leptos_server::Submission
source · pub struct Submission<I, O>where
I: 'static,
O: 'static,{
pub input: RwSignal<Option<I>>,
pub value: RwSignal<Option<O>>,
pub canceled: RwSignal<bool>,
/* private fields */
}
Expand description
An action that has been submitted by dispatching it to a MultiAction.
Fields§
§input: RwSignal<Option<I>>
The current argument that was dispatched to the async
function.
Some
while we are waiting for it to resolve, None
if it has resolved.
value: RwSignal<Option<O>>
The most recent return value of the async
function.
canceled: RwSignal<bool>
Controls this submission has been canceled.
Implementations§
source§impl<I, O> Submission<I, O>where
I: 'static,
O: 'static,
impl<I, O> Submission<I, O>where I: 'static, O: 'static,
Trait Implementations§
source§impl<I, O> Clone for Submission<I, O>
impl<I, O> Clone for Submission<I, O>
impl<I, O> Copy for Submission<I, O>
Auto Trait Implementations§
impl<I, O> RefUnwindSafe for Submission<I, O>where I: RefUnwindSafe, O: RefUnwindSafe,
impl<I, O> Send for Submission<I, O>where I: Send, O: Send,
impl<I, O> Sync for Submission<I, O>where I: Sync, O: Sync,
impl<I, O> Unpin for Submission<I, O>where I: Unpin, O: Unpin,
impl<I, O> UnwindSafe for Submission<I, O>where I: UnwindSafe, O: UnwindSafe,
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