pub struct Signer { /* private fields */ }Implementations§
Source§impl Signer
impl Signer
pub fn new( service_handler: HostServiceHandler, config: SignerConfig, ckb_config: CkbConfig, script_config: ScriptConfig, ) -> Result<Signer>
Trait Implementations§
Source§impl Plugin for Signer
impl Plugin for Signer
fn get_name(&self) -> String
fn get_info(&self) -> PluginInfo
fn get_meta(&self) -> PluginMeta
fn on_new_otx(&self, otx: OpenTransaction)
fn on_commit_otx(&self, otx_hashes: Vec<H256>)
fn on_new_intervel(&self, _interval: u64)
Auto Trait Implementations§
impl !Freeze for Signer
impl !RefUnwindSafe for Signer
impl Send for Signer
impl Sync for Signer
impl Unpin for Signer
impl !UnwindSafe for Signer
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