pub struct SignerControl {Show 29 fields
pub done: b32,
pub consumed: b32,
pub meta_ok: bool,
pub hashing: bool,
pub tail_pending: bool,
pub in_tail: bool,
pub tail_block: [b32; 16],
pub tail_cv: [b32; 8],
pub certs: b2,
pub queue: [Work; 2],
pub prep_step: b4,
pub prep: Work,
pub ready: Work,
pub stream: Work,
pub chain: b7,
pub reads: [NodeRead; 5],
pub packed: b5,
pub pack_frame: b2,
pub pack_index: b64,
pub frames_used: b3,
pub next_frame: b2,
pub complete: b3,
pub drain_frame: b2,
pub drain_beat: b5,
pub drain_pending: bool,
pub drain_last: bool,
pub beat_valid: bool,
pub drain_read: b7,
pub frames_out: b32,
}Expand description
Resettable control.
Fields§
§done: b32Keys finished by the factory.
consumed: b32Keys burned.
meta_ok: boolThe metadata RAM output holds key consumed.
hashing: boolA message hash is in flight.
tail_pending: boolProfile 2: the first digest block returned; the tail is to be offered.
in_tail: boolProfile 2: the tail block is in flight (its result is the digest).
tail_block: [b32; 16]Profile 2: the tail block (message bytes 16..64, zero-padded).
tail_cv: [b32; 8]Profile 2: the first block’s chaining value.
certs: b2Certificates held (0..=2).
queue: [Work; 2]Burned keys awaiting digits/preparation, oldest first.
prep_step: b4Preparation step: 0 idle, 1..=4 sibling reads, 5..=10 header writes.
The counts are for the 8-slice build: steps 1..=SUBTREE_LEVELS read
siblings, then HEADER_BEATS steps write the header.
prep: WorkThe work item being prepared.
ready: WorkPrepared, waiting to stream.
stream: WorkThe work item being streamed.
chain: b7Next chain to address while streaming (68 = finished addressing).
reads: [NodeRead; 5]Cache reads in flight, newest at index 0. A read issued this cycle
reaches the end of this line exactly when its node leaves the cache
(CACHE_READ_LATENCY cycles), so the token travels with its data.
packed: b5Packer beats written for the frame being packed.
pack_frame: b2Frame slot the packer writes into.
pack_index: b64Message index of the frame being packed.
frames_used: b3Frame slots in use (preparing, streaming, complete or draining).
next_frame: b2Next frame slot to allocate.
complete: b3Completed frames not yet drained.
drain_frame: b2Frame slot being drained.
drain_beat: b5Next beat to drain.
drain_pending: boolA drain read is outstanding.
drain_last: boolThe outstanding drain read is the frame’s last beat.
beat_valid: boolThe output register holds an undelivered beat.
drain_read: b7Frame-buffer address of the outstanding drain read (held while stalled).
frames_out: b32Frames fully drained.
Trait Implementations§
Source§impl Clone for SignerControl
impl Clone for SignerControl
Source§fn clone(&self) -> SignerControl
fn clone(&self) -> SignerControl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SignerControl
impl Debug for SignerControl
Source§impl Digital for SignerControl
impl Digital for SignerControl
Source§const BITS: usize
const BITS: usize
Source§fn static_kind() -> Kind
fn static_kind() -> Kind
Source§fn bin(self) -> Box<[BitX]>
fn bin(self) -> Box<[BitX]>
§fn typed_bits(self) -> TypedBits
fn typed_bits(self) -> TypedBits
§fn discriminant(self) -> TypedBits
fn discriminant(self) -> TypedBits
§fn variant_kind(self) -> Kind
fn variant_kind(self) -> Kind
§fn binary_string(self) -> String
fn binary_string(self) -> String
Source§impl PartialEq for SignerControl
impl PartialEq for SignerControl
impl Copy for SignerControl
impl StructuralPartialEq for SignerControl
Auto Trait Implementations§
impl Freeze for SignerControl
impl RefUnwindSafe for SignerControl
impl Send for SignerControl
impl Sync for SignerControl
impl Unpin for SignerControl
impl UnsafeUnpin for SignerControl
impl UnwindSafe for SignerControl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg] or
a color-specific method, such as [OwoColorize::green], Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg] or
a color-specific method, such as [OwoColorize::on_yellow], Read more