pub struct ChannelPins {
pub pins: Vec<VerifiedPin>,
pub sealed: bool,
pub version: u64,
}Expand description
A channel’s pin list, read from the locally folded head.
Fields§
§pins: Vec<VerifiedPin>Entries that passed the full §7 verification, wire order (curator’s).
sealed: boolThe head is sealed under a key epoch this client does not hold: the pins exist but are unreadable. Render as unavailable, NEVER as empty — and a writer seeing this MUST NOT publish (it would drop every entry).
version: u64Folded head version (0 = no edition has ever folded).
Trait Implementations§
Source§impl Debug for ChannelPins
impl Debug for ChannelPins
Auto Trait Implementations§
impl Freeze for ChannelPins
impl RefUnwindSafe for ChannelPins
impl Send for ChannelPins
impl Sync for ChannelPins
impl Unpin for ChannelPins
impl UnsafeUnpin for ChannelPins
impl UnwindSafe for ChannelPins
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<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