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