pub enum Related<C: TypedContract> {
Found {
state: C,
},
NotFound,
RequestPending,
NotRequested,
}
Variants§
Found
The state was previously requested and found
Fields
§
state: C
NotFound
The state was previously requested but not found
RequestPending
The state was previously requested but request is still in flight
NotRequested
The state was not previously requested, this enum can be included in the MergeResult return value which will request it
Auto Trait Implementations§
impl<C> Freeze for Related<C>where
C: Freeze,
impl<C> RefUnwindSafe for Related<C>where
C: RefUnwindSafe,
impl<C> Send for Related<C>where
C: Send,
impl<C> Sync for Related<C>where
C: Sync,
impl<C> Unpin for Related<C>where
C: Unpin,
impl<C> UnwindSafe for Related<C>where
C: UnwindSafe,
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