pub enum AsyncRead<T> {
Pending,
Ready(Rc<T>),
}Expand description
A scoped, typed result. Pending is an ordinary value, never control flow via
panic. The HTML compiler evaluates an Await subtree for Ready.
Variants§
Auto Trait Implementations§
impl<T> !Send for AsyncRead<T>
impl<T> !Sync for AsyncRead<T>
impl<T> Freeze for AsyncRead<T>
impl<T> RefUnwindSafe for AsyncRead<T>where
Rc<T>: RefUnwindSafe,
impl<T> Unpin for AsyncRead<T>
impl<T> UnsafeUnpin for AsyncRead<T>where
Rc<T>: UnsafeUnpin,
impl<T> UnwindSafe for AsyncRead<T>where
Rc<T>: 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