MCPcopy Create free account
hub / github.com/ElementsProject/lightning / Secret

Class Secret

cln-rpc/src/primitives.rs:158–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157#[derive(Clone, Copy, Debug)]
158pub struct Secret([u8; 32]);
159
160impl TryFrom<Vec<u8>> for Secret {
161 type Error = crate::Error;

Callers 2

try_fromMethod · 0.70
deserializeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected