pub enum ExtendExpiryResponse {
Satisfied,
NotFound,
Rejected,
}Expand description
The outcome of a Session::extend_expiry call.
Variants§
Satisfied
The deadline was extended or already satisfied the request.
Does not report whether the deadline changed or its stored value.
NotFound
The object was observed to be absent or expired.
Rejected
The extension could not be satisfied.
The object is non-expiring, lacks creation metadata required by a creation-relative target, or conflicts with a conditional update. A conflict can result from concurrent deletion, so this does not guarantee that the object still exists.
Trait Implementations§
Source§impl Clone for ExtendExpiryResponse
impl Clone for ExtendExpiryResponse
Source§fn clone(&self) -> ExtendExpiryResponse
fn clone(&self) -> ExtendExpiryResponse
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 ExtendExpiryResponse
Source§impl Debug for ExtendExpiryResponse
impl Debug for ExtendExpiryResponse
impl Eq for ExtendExpiryResponse
Source§impl PartialEq for ExtendExpiryResponse
impl PartialEq for ExtendExpiryResponse
impl StructuralPartialEq for ExtendExpiryResponse
Auto Trait Implementations§
impl Freeze for ExtendExpiryResponse
impl RefUnwindSafe for ExtendExpiryResponse
impl Send for ExtendExpiryResponse
impl Sync for ExtendExpiryResponse
impl Unpin for ExtendExpiryResponse
impl UnsafeUnpin for ExtendExpiryResponse
impl UnwindSafe for ExtendExpiryResponse
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more