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

Method option

plugins/src/lib.rs:151–157  ·  view source on GitHub ↗
(
        mut self,
        opt: options::ConfigOption<'a, V>,
    )

Source from the content-addressed store, hash-verified

149 }
150
151 pub fn option<'a, V: options::OptionType<'a>>(
152 mut self,
153 opt: options::ConfigOption<'a, V>,
154 ) -> Builder<S, I, O> {
155 self.options.insert(opt.name().to_string(), opt.build());
156 self
157 }
158
159 pub fn notification(mut self, notif: messages::NotificationTopic) -> Builder<S, I, O> {
160 self.notifications.push(notif);

Callers 10

mainFunction · 0.80
mainFunction · 0.80
run_rest_serverFunction · 0.80
parse_optionsFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
testoptionsFunction · 0.80
mainFunction · 0.80

Calls 5

option_strMethod · 0.80
insertMethod · 0.45
to_stringMethod · 0.45
nameMethod · 0.45
buildMethod · 0.45

Tested by

no test coverage detected