Struct cln_plugin::Plugin
source · pub struct Plugin<S>{ /* private fields */ }
Implementations§
source§impl<S> Plugin<S>
impl<S> Plugin<S>
pub fn options(&self) -> Vec<ConfigOption>
pub fn configuration(&self) -> Configuration
pub fn state(&self) -> &S
Trait Implementations§
Auto Trait Implementations§
impl<S> !RefUnwindSafe for Plugin<S>
impl<S> Send for Plugin<S>
impl<S> Sync for Plugin<S>where
S: Sync,
impl<S> Unpin for Plugin<S>where
S: Unpin,
impl<S> !UnwindSafe for Plugin<S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more