pub struct CompletableFuture {
pub cancelled: Option<bool>,
pub completed_exceptionally: Option<bool>,
pub done: Option<bool>,
pub number_of_dependents: Option<i32>,
}Fields§
§cancelled: Option<bool>§completed_exceptionally: Option<bool>§done: Option<bool>§number_of_dependents: Option<i32>Implementations§
source§impl CompletableFuture
impl CompletableFuture
pub fn new() -> CompletableFuture
Trait Implementations§
source§impl Clone for CompletableFuture
impl Clone for CompletableFuture
source§fn clone(&self) -> CompletableFuture
fn clone(&self) -> CompletableFuture
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CompletableFuture
impl Debug for CompletableFuture
source§impl Default for CompletableFuture
impl Default for CompletableFuture
source§fn default() -> CompletableFuture
fn default() -> CompletableFuture
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompletableFuture
impl<'de> Deserialize<'de> for CompletableFuture
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CompletableFuture
impl PartialEq for CompletableFuture
source§fn eq(&self, other: &CompletableFuture) -> bool
fn eq(&self, other: &CompletableFuture) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CompletableFuture
impl Serialize for CompletableFuture
impl StructuralPartialEq for CompletableFuture
Auto Trait Implementations§
impl RefUnwindSafe for CompletableFuture
impl Send for CompletableFuture
impl Sync for CompletableFuture
impl Unpin for CompletableFuture
impl UnwindSafe for CompletableFuture
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