MCPcopy 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
194impl Secret {
195 pub fn to_vec(self) -> Vec<u8> {
196 self.0.to_vec()
197 }
198}
199
200impl From<Secret> for [u8; 32] {

Callers 2

fromMethod · 0.80
fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected