Struct yew_hooks::UseAsyncState
source · [−]Expand description
State for an async future.
Fields
loading: booldata: Option<T>error: Option<E>Trait Implementations
sourceimpl<T: PartialEq, E: PartialEq> PartialEq<UseAsyncState<T, E>> for UseAsyncState<T, E>
impl<T: PartialEq, E: PartialEq> PartialEq<UseAsyncState<T, E>> for UseAsyncState<T, E>
sourcefn eq(&self, other: &UseAsyncState<T, E>) -> bool
fn eq(&self, other: &UseAsyncState<T, E>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UseAsyncState<T, E>) -> bool
fn ne(&self, other: &UseAsyncState<T, E>) -> bool
This method tests for !=.
impl<T, E> StructuralPartialEq for UseAsyncState<T, E>
Auto Trait Implementations
impl<T, E> RefUnwindSafe for UseAsyncState<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for UseAsyncState<T, E> where
E: Send,
T: Send,
impl<T, E> Sync for UseAsyncState<T, E> where
E: Sync,
T: Sync,
impl<T, E> Unpin for UseAsyncState<T, E> where
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for UseAsyncState<T, E> where
E: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcepub fn into_prop_value(self) -> Option<T>
pub fn into_prop_value(self) -> Option<T>
Convert self to a value of a Properties struct.
sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcepub fn into_prop_value(self) -> T
pub fn into_prop_value(self) -> T
Convert self to a value of a Properties struct.