Struct vls_protocol_signer::handler::RootHandler
source · pub struct RootHandler { /* private fields */ }Expand description
Protocol handler
Implementations§
source§impl RootHandler
impl RootHandler
sourcepub fn channel_balance(&self) -> ChannelBalance
pub fn channel_balance(&self) -> ChannelBalance
Get the channel balances
sourcepub fn get_chain_height(&self) -> u32
pub fn get_chain_height(&self) -> u32
Get the current chain height based on the tracker
Trait Implementations§
source§impl Clone for RootHandler
impl Clone for RootHandler
source§fn clone(&self) -> RootHandler
fn clone(&self) -> RootHandler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Handler for RootHandler
impl Handler for RootHandler
Auto Trait Implementations§
impl !RefUnwindSafe for RootHandler
impl Send for RootHandler
impl Sync for RootHandler
impl Unpin for RootHandler
impl !UnwindSafe for RootHandler
Blanket Implementations§
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where T: AsAny,
Forward to the method defined on the type
Any.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where T: AsAny,
Forward to the method defined on the type
Any.