Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ to_vec
Method
to_vec
cln-rpc/src/primitives.rs:195–197 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
193
194
impl Secret {
195
pub fn to_vec(self) -> Vec<u8> {
196
self.0.to_vec()
197
}
198
}
199
200
impl From<Secret> for [u8; 32] {
Callers
2
from
Method · 0.80
from
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected