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:372–374 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
370
371
impl Secret {
372
pub fn to_vec(self) -> Vec<u8> {
373
self.0.to_vec()
374
}
375
}
376
377
impl From<Secret> for [u8; 32] {
Callers
15
from
Method · 0.80
from
Method · 0.80
new
Method · 0.80
decision_to_response
Function · 0.80
is_feature_bit_set_reversed
Function · 0.80
from_bytes
Method · 0.80
set_u64
Method · 0.80
encode_tu64
Function · 0.80
rec
Function · 0.80
test_pending_requests_roundtrip
Function · 0.80
test_pending_requests_unknown_id
Function · 0.80
test_pending_requests_remove
Function · 0.80
Calls
no outgoing calls
Tested by
4
test_pending_requests_roundtrip
Function · 0.64
test_pending_requests_unknown_id
Function · 0.64
test_pending_requests_remove
Function · 0.64
test_transport_send_failure_cleans_up
Function · 0.64