Struct vls_protocol_signer::handler::ChannelHandler
source · pub struct ChannelHandler { /* private fields */ }Expand description
Protocol handler
Implementations§
Trait Implementations§
source§impl Handler for ChannelHandler
impl Handler for ChannelHandler
source§fn for_new_client(
&self,
_client_id: u64,
_peer_id: PubKey,
_dbid: u64
) -> ChannelHandler
fn for_new_client( &self, _client_id: u64, _peer_id: PubKey, _dbid: u64 ) -> ChannelHandler
Create a channel handler
source§fn node(&self) -> &Arc<Node>
fn node(&self) -> &Arc<Node>
Get the associated signing node.
Note that if you want to perform an operation that can result in a mutation
of the node state requiring a persist, and your persister writes to the cloud,
you must use
Handler::with_persist instead.Auto Trait Implementations§
impl !RefUnwindSafe for ChannelHandler
impl Send for ChannelHandler
impl Sync for ChannelHandler
impl Unpin for ChannelHandler
impl !UnwindSafe for ChannelHandler
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§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.