Enum ckb_cli_plugin_protocol::PluginRequest [−][src]
pub enum PluginRequest {
Quit,
GetConfig,
RpcUrlChanged(String),
SubCommand(String),
Callback(CallbackRequest),
Rpc(RpcRequest),
ReadPassword(String),
PrintStdout(String),
PrintStderr(String),
KeyStore(KeyStoreRequest),
Indexer {
genesis_hash: H256,
request: IndexerRequest,
},
}
Variants
RpcUrlChanged(String)
Tuple Fields of RpcUrlChanged
0: String
SubCommand(String)
Tuple Fields of SubCommand
0: String
Callback(CallbackRequest)
Tuple Fields of Callback
Rpc(RpcRequest)
Tuple Fields of Rpc
0: RpcRequest
ReadPassword(String)
Tuple Fields of ReadPassword
0: String
PrintStdout(String)
Tuple Fields of PrintStdout
0: String
PrintStderr(String)
Tuple Fields of PrintStderr
0: String
KeyStore(KeyStoreRequest)
Tuple Fields of KeyStore
Fields of Indexer
genesis_hash: H256
request: IndexerRequest
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PluginRequest
impl Send for PluginRequest
impl Sync for PluginRequest
impl Unpin for PluginRequest
impl UnwindSafe for PluginRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more