pub struct HsmdInitReplyV4 {
pub hsm_version: u32,
pub hsm_capabilities: ArrayBE<u32>,
pub node_id: PubKey,
pub bip32: ExtKey,
pub bolt12: PubKey,
}
Expand description
Fields§
§hsm_version: u32
This gets upgraded when the wire protocol changes in incompatible ways:
hsm_capabilities: ArrayBE<u32>
Capabilities, by convention are message numbers, indicating that the HSM supports you sending this message.
node_id: PubKey
§bip32: ExtKey
§bolt12: PubKey
Trait Implementations§
Source§impl BigEndianEncodable for HsmdInitReplyV4
impl BigEndianEncodable for HsmdInitReplyV4
Source§impl DeBolt for HsmdInitReplyV4
impl DeBolt for HsmdInitReplyV4
Source§impl Debug for HsmdInitReplyV4
impl Debug for HsmdInitReplyV4
Source§impl Decodable for HsmdInitReplyV4
impl Decodable for HsmdInitReplyV4
Source§impl Encodable for HsmdInitReplyV4
impl Encodable for HsmdInitReplyV4
Auto Trait Implementations§
impl Freeze for HsmdInitReplyV4
impl RefUnwindSafe for HsmdInitReplyV4
impl Send for HsmdInitReplyV4
impl Sync for HsmdInitReplyV4
impl Unpin for HsmdInitReplyV4
impl UnwindSafe for HsmdInitReplyV4
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> Downcast for T
impl<T> Downcast for T
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