Enum vertigo::Resource [−][src]
Expand description
The state of the resource.
Variants
Loading
Ready(T)
Error(String)
Tuple Fields
0: StringImplementations
Trait Implementations
type Output = T
type Output = T
🔬 This is a nightly-only experimental API. (
try_trait_v2)The type of the value produced by ? when not short-circuiting.
type Residual = ResourceError
type Residual = ResourceError
🔬 This is a nightly-only experimental API. (
try_trait_v2)The type of the value passed to FromResidual::from_residual
as part of ? when short-circuiting. Read more
🔬 This is a nightly-only experimental API. (
try_trait_v2)Constructs the type from its Output type. Read more
🔬 This is a nightly-only experimental API. (
try_trait_v2)Used in ? to decide whether the operator should produce a value
(because this returned ControlFlow::Continue)
or propagate a value back to the caller
(because this returned ControlFlow::Break). Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Resource<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Resource<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
