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

Method set_option

plugins/src/lib.rs:761–768  ·  view source on GitHub ↗
(
        &self,
        config_option: &options::ConfigOption<'a, OV>,
        value: options::Value,
    )

Source from the content-addressed store, hash-verified

759 }
760
761 pub fn set_option<'a, OV: OptionType<'a>>(
762 &self,
763 config_option: &options::ConfigOption<'a, OV>,
764 value: options::Value,
765 ) -> Result<()> {
766 self.set_option_str(config_option.name(), value)?;
767 Ok(())
768 }
769}
770
771impl<S, I, O> ConfiguredPlugin<S, I, O>

Callers

nothing calls this directly

Calls 2

set_option_strMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected