pub struct CompareAndSetError<'g, T, P> where
P: Pointer<T>,
T: 'g + 'g, {
pub current: Shared<'g, T>,
pub new: P,
}
The error returned on failed compare-and-set operation.
The value in the atomic pointer at the time of the failed operation.
The new value, which the operation failed to store.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)