pub struct AsyncBoundary(/* private fields */);Expand description
A stable handle. Attach it to exactly one live Async region. Read
status and put selection/retry controls outside that region.
Implementations§
Source§impl AsyncBoundary
impl AsyncBoundary
pub fn coherent() -> AsyncBoundary
pub fn status(&self) -> BoundaryStatus
pub fn pending(&self) -> bool
pub fn is_interactive(&self) -> bool
Trait Implementations§
Source§impl Clone for AsyncBoundary
impl Clone for AsyncBoundary
Source§fn clone(&self) -> AsyncBoundary
fn clone(&self) -> AsyncBoundary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for AsyncBoundary
impl !Send for AsyncBoundary
impl !Sync for AsyncBoundary
impl !UnwindSafe for AsyncBoundary
impl Freeze for AsyncBoundary
impl Unpin for AsyncBoundary
impl UnsafeUnpin for AsyncBoundary
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