Struct yew_api_hook::LazyResponse
source · pub struct LazyResponse<R: Request + 'static> {
pub run: Callback<(), ()>,
pub data: Option<SuspensionResult<Result<R::Output, R::Error>>>,
}Fields§
§run: Callback<(), ()>§data: Option<SuspensionResult<Result<R::Output, R::Error>>>Auto Trait Implementations§
impl<R> !RefUnwindSafe for LazyResponse<R>
impl<R> !Send for LazyResponse<R>
impl<R> !Sync for LazyResponse<R>
impl<R> Unpin for LazyResponse<R>where
<R as Request>::Error: Unpin,
<R as Request>::Output: Unpin,
impl<R> !UnwindSafe for LazyResponse<R>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.