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

Method to_string

cln-rpc/src/hooks.rs:68–73  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

66
67 impl ToString for PeerConnectedPeerDirection {
68 fn to_string(&self) -> String {
69 match self {
70 PeerConnectedPeerDirection::IN => "IN",
71 PeerConnectedPeerDirection::OUT => "OUT",
72 }.to_string()
73 }
74 }
75
76 #[derive(Clone, Debug, Deserialize, Serialize)]

Callers 15

getinfoMethod · 0.45
list_peersMethod · 0.45
list_fundsMethod · 0.45
send_payMethod · 0.45
list_channelsMethod · 0.45
add_gossipMethod · 0.45
add_psbt_outputMethod · 0.45
auto_clean_onceMethod · 0.45
auto_clean_statusMethod · 0.45
check_messageMethod · 0.45
closeMethod · 0.45
connect_peerMethod · 0.45

Calls

no outgoing calls