Struct medea_jason::platform::utils::dart_future::DartFuture
source · #[repr(transparent)]pub struct DartFuture<O>(_, _);
Expand description
Rust representation of a Dart Future
.
Implementations§
source§impl<O> DartFuture<O>
impl<O> DartFuture<O>
sourcepub fn into_dart_opaque(self) -> DartOpaque
pub fn into_dart_opaque(self) -> DartOpaque
Wraps the given DartFuture
into a DartOpaque
value, so it can be
transferred to Dart side via flutter_rust_bridge
bindings.
Trait Implementations§
Auto Trait Implementations§
impl<O> RefUnwindSafe for DartFuture<O>where O: RefUnwindSafe,
impl<O> !Send for DartFuture<O>
impl<O> !Sync for DartFuture<O>
impl<O> Unpin for DartFuture<O>
impl<O> UnwindSafe for DartFuture<O>where O: RefUnwindSafe,
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