Struct yew_hooks::UseAsyncHandle
source · [−]pub struct UseAsyncHandle<F, T, E> { /* private fields */ }Expand description
State handle for the use_async hook.
Implementations
sourceimpl<F, T, E> UseAsyncHandle<F, T, E> where
F: Future<Output = Result<T, E>> + 'static,
T: Clone + 'static,
E: Clone + 'static,
impl<F, T, E> UseAsyncHandle<F, T, E> where
F: Future<Output = Result<T, E>> + 'static,
T: Clone + 'static,
E: Clone + 'static,
Trait Implementations
sourceimpl<F, T, E> Clone for UseAsyncHandle<F, T, E>
impl<F, T, E> Clone for UseAsyncHandle<F, T, E>
sourceimpl<F, T, E> Deref for UseAsyncHandle<F, T, E>
impl<F, T, E> Deref for UseAsyncHandle<F, T, E>
type Target = UseAsyncState<T, E>
type Target = UseAsyncState<T, E>
The resulting type after dereferencing.
sourceimpl<F, T, E> PartialEq<UseAsyncHandle<F, T, E>> for UseAsyncHandle<F, T, E> where
T: PartialEq,
E: PartialEq,
impl<F, T, E> PartialEq<UseAsyncHandle<F, T, E>> for UseAsyncHandle<F, T, E> where
T: PartialEq,
E: PartialEq,
Auto Trait Implementations
impl<F, T, E> !RefUnwindSafe for UseAsyncHandle<F, T, E>
impl<F, T, E> !Send for UseAsyncHandle<F, T, E>
impl<F, T, E> !Sync for UseAsyncHandle<F, T, E>
impl<F, T, E> Unpin for UseAsyncHandle<F, T, E>
impl<F, T, E> !UnwindSafe for UseAsyncHandle<F, T, E>
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.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more