pub struct ObligationId(/* private fields */);Expand description
A unique identifier for an obligation in the runtime.
Obligations represent resources that must be resolved (commit, abort, ack, etc.) before their owning region can close.
Implementations§
Trait Implementations§
Source§impl Clone for ObligationId
impl Clone for ObligationId
Source§fn clone(&self) -> ObligationId
fn clone(&self) -> ObligationId
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 moreimpl Copy for ObligationId
Source§impl Debug for ObligationId
impl Debug for ObligationId
Source§impl<'de> Deserialize<'de> for ObligationId
impl<'de> Deserialize<'de> for ObligationId
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 Display for ObligationId
impl Display for ObligationId
impl Eq for ObligationId
Source§impl From<ObligationId> for IdSnapshot
impl From<ObligationId> for IdSnapshot
Source§fn from(id: ObligationId) -> Self
fn from(id: ObligationId) -> Self
Converts to this type from the input type.
Source§impl Hash for ObligationId
impl Hash for ObligationId
Source§impl Ord for ObligationId
impl Ord for ObligationId
Source§fn cmp(&self, other: &ObligationId) -> Ordering
fn cmp(&self, other: &ObligationId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObligationId
impl PartialEq for ObligationId
Source§impl PartialOrd for ObligationId
impl PartialOrd for ObligationId
Source§impl Serialize for ObligationId
impl Serialize for ObligationId
impl StructuralPartialEq for ObligationId
Auto Trait Implementations§
impl Freeze for ObligationId
impl RefUnwindSafe for ObligationId
impl Send for ObligationId
impl Sync for ObligationId
impl Unpin for ObligationId
impl UnsafeUnpin for ObligationId
impl UnwindSafe for ObligationId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).