pub struct KPromise<T>where
T: Send,{ /* private fields */ }Expand description
A custom promise implementation, that can be used to fulfil its paired future.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for KPromise<T>
impl<T> !RefUnwindSafe for KPromise<T>
impl<T> Send for KPromise<T>
impl<T> Sync for KPromise<T>
impl<T> Unpin for KPromise<T>
impl<T> UnsafeUnpin for KPromise<T>
impl<T> !UnwindSafe for KPromise<T>
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