Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
158
pub struct Secret([u8; 32]);
159
160
impl TryFrom<Vec<u8>> for Secret {
161
type Error = crate::Error;
Callers
2
try_from
Method · 0.70
deserialize
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected