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

Method to_string

cln-rpc/src/model.rs:487–495  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

485
486 impl ToString for ListpeersLevel {
487 fn to_string(&self) -> String {
488 match self {
489 ListpeersLevel::IO => "IO",
490 ListpeersLevel::TRACE => "TRACE",
491 ListpeersLevel::DEBUG => "DEBUG",
492 ListpeersLevel::INFO => "INFO",
493 ListpeersLevel::UNUSUAL => "UNUSUAL",
494 }.to_string()
495 }
496 }
497
498 #[derive(Clone, Debug, Deserialize, Serialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected