pub enum ActionResultKind {
Ignored,
Returned,
Json,
}Expand description
What an action’s return value means to the response.
Variants§
Ignored
The action’s return value is ignored.
Returned
The action’s return value is a returns effect, which the browser’s promise resolves with.
Json
The action answers with JSON instead of new HTML, and its return value is the body.
Trait Implementations§
Source§impl Clone for ActionResultKind
impl Clone for ActionResultKind
impl Copy for ActionResultKind
Source§impl Debug for ActionResultKind
impl Debug for ActionResultKind
Source§impl Default for ActionResultKind
impl Default for ActionResultKind
impl Eq for ActionResultKind
Source§impl PartialEq for ActionResultKind
impl PartialEq for ActionResultKind
impl StructuralPartialEq for ActionResultKind
Auto Trait Implementations§
impl Forget for ActionResultKind
impl Freeze for ActionResultKind
impl Move for ActionResultKind
impl RefUnwindSafe for ActionResultKind
impl Send for ActionResultKind
impl Sync for ActionResultKind
impl Unpin for ActionResultKind
impl UnsafeUnpin for ActionResultKind
impl UnwindSafe for ActionResultKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.