Struct lightning::chain::keysinterface::KeyMaterial
source · [−]Expand description
Used as initial key material, to be expanded into multiple secret keys (but not to be used directly). This is used within LDK to encrypt/decrypt inbound payment data. (C-not exported) as we just use [u8; 32] directly
Tuple Fields
0: [u8; 32]
Trait Implementations
sourceimpl Clone for KeyMaterial
impl Clone for KeyMaterial
sourcefn clone(&self) -> KeyMaterial
fn clone(&self) -> KeyMaterial
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyMaterial
impl Debug for KeyMaterial
sourceimpl Hash for KeyMaterial
impl Hash for KeyMaterial
sourceimpl PartialEq<KeyMaterial> for KeyMaterial
impl PartialEq<KeyMaterial> for KeyMaterial
sourcefn eq(&self, other: &KeyMaterial) -> bool
fn eq(&self, other: &KeyMaterial) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KeyMaterial) -> bool
fn ne(&self, other: &KeyMaterial) -> bool
This method tests for !=
.
impl Copy for KeyMaterial
impl Eq for KeyMaterial
impl StructuralEq for KeyMaterial
impl StructuralPartialEq for KeyMaterial
Auto Trait Implementations
impl RefUnwindSafe for KeyMaterial
impl Send for KeyMaterial
impl Sync for KeyMaterial
impl Unpin for KeyMaterial
impl UnwindSafe for KeyMaterial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more