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

Method option

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

Source from the content-addressed store, hash-verified

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