#[repr(transparent)]pub struct Promise { /* private fields */ }
This is supported on crate feature
v1_14
only.Implementations
pub fn with_change_func<F>(func: F) -> Promise where
F: FnOnce(Result<Option<&StructureRef>, PromiseError>) + Send + 'static,
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.