pub struct ResourceSeed<K, T, E> {
pub key: K,
pub result: Result<T, E>,
}Expand description
Restored terminal data. The caller explicitly decodes the key and result; only a matching initial key suppresses the first request. A refresh always fetches again, including after restoring a business error.
Fields§
§key: K§result: Result<T, E>Auto Trait Implementations§
impl<K, T, E> Forget for ResourceSeed<K, T, E>
impl<K, T, E> Freeze for ResourceSeed<K, T, E>
impl<K, T, E> RefUnwindSafe for ResourceSeed<K, T, E>
impl<K, T, E> Send for ResourceSeed<K, T, E>
impl<K, T, E> Sync for ResourceSeed<K, T, E>
impl<K, T, E> Unpin for ResourceSeed<K, T, E>
impl<K, T, E> UnsafeUnpin for ResourceSeed<K, T, E>
impl<K, T, E> UnwindSafe for ResourceSeed<K, T, E>
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