pub enum SessionDisposition {
Absent,
Kept,
Rebound,
Dropped(Option<RebindRefusal>),
}Expand description
What refresh_decode_session did to the held plan.
Variants§
Absent
There was no held plan; nothing to do.
Kept
The plan is valid for this step and was left alone.
Rebound
The KV allocation changed and the plan was re-bound onto it (GAP-028). Any reader of the plan’s device addresses has been retired.
Dropped(Option<RebindRefusal>)
The plan was retired. Some(refusal) means a re-bind was attempted and
declined — carried so a caller (or a test) can distinguish “refused for
the right reason” from “refused because nothing was tried”.
Trait Implementations§
Source§impl Clone for SessionDisposition
impl Clone for SessionDisposition
impl Copy for SessionDisposition
Source§impl Debug for SessionDisposition
impl Debug for SessionDisposition
impl Eq for SessionDisposition
Source§impl PartialEq for SessionDisposition
impl PartialEq for SessionDisposition
impl StructuralPartialEq for SessionDisposition
Auto Trait Implementations§
impl Freeze for SessionDisposition
impl RefUnwindSafe for SessionDisposition
impl Send for SessionDisposition
impl Sync for SessionDisposition
impl Unpin for SessionDisposition
impl UnsafeUnpin for SessionDisposition
impl UnwindSafe for SessionDisposition
Blanket Implementations§
impl<T> Boilerplate for T
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> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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