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§
fn to_funding(&self) -> Funding
fn set_funding(&mut self, funding: &Funding)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.