pub enum RekeyOutcome {
Applied {
head_advanced: bool,
},
NotARecipient,
}Expand description
The result of applying a received channel Rekey (3303).
Variants§
Applied
The new key was recovered + committed. head_advanced is true if it became the channel’s
current epoch (a catch-up of an OLDER epoch archives the key but leaves the head, so false).
NotARecipient
No blob at my recipient locator — I’m not in this rotation’s recipient set (a non-member of the channel, or the member this removal deliberately excluded). Expected, NOT an error.
Trait Implementations§
Source§impl Debug for RekeyOutcome
impl Debug for RekeyOutcome
impl Eq for RekeyOutcome
Source§impl PartialEq for RekeyOutcome
impl PartialEq for RekeyOutcome
impl StructuralPartialEq for RekeyOutcome
Auto Trait Implementations§
impl Freeze for RekeyOutcome
impl RefUnwindSafe for RekeyOutcome
impl Send for RekeyOutcome
impl Sync for RekeyOutcome
impl Unpin for RekeyOutcome
impl UnsafeUnpin for RekeyOutcome
impl UnwindSafe for RekeyOutcome
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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