pub trait NodeMonitor {
// Required method
fn channel_balance(&self) -> ChannelBalance;
}Expand description
Trait to monitor read-only features of Node
Required Methods§
Sourcefn channel_balance(&self) -> ChannelBalance
fn channel_balance(&self) -> ChannelBalance
Get the balance
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".