Trait lnp::channel::State

source ·
pub trait State: StrictEncode + StrictDecode + DumbDefault {
    // Required methods
    fn to_funding(&self) -> Funding;
    fn set_funding(&mut self, funding: &Funding);
}
Expand description

Trait for any data that can be used as a part of the channel state

Required Methods§

source

fn to_funding(&self) -> Funding

source

fn set_funding(&mut self, funding: &Funding)

Implementors§