Enum ckb_cli_plugin_protocol::PluginResponse [−][src]
pub enum PluginResponse {
Show variants
Error(JsonrpcError),
Ok,
PluginConfig(PluginConfig),
JsonValue(Value),
Boolean(bool),
String(String),
Integer64(u64),
H256Opt(Option<H256>),
H160(H160),
H160Vec(Vec<H160>),
HeaderView(Box<HeaderView>),
HeaderViewOpt(Box<Option<HeaderView>>),
BlockViewOpt(Box<Option<BlockView>>),
Bytes(JsonBytes),
BytesVec(Vec<JsonBytes>),
Callback(CallbackResponse),
MasterPrivateKey {
privkey: JsonBytes,
chain_code: JsonBytes,
},
DerivedKeySet {
external: Vec<(String, H160)>,
change: Vec<(String, H160)>,
},
LiveCells(Vec<LiveCellInfo>),
TopN(Vec<(H256, Option<Script>, u64)>),
}Variants
Error(JsonrpcError)PluginConfig(PluginConfig)JsonValue(Value)Boolean(bool)String(String)Integer64(u64)H256Opt(Option<H256>)H160Vec(Vec<H160>)HeaderView(Box<HeaderView>)HeaderViewOpt(Box<Option<HeaderView>>)Bytes(JsonBytes)Callback(CallbackResponse)LiveCells(Vec<LiveCellInfo>)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 PluginResponseimpl Send for PluginResponseimpl Sync for PluginResponseimpl Unpin for PluginResponseimpl UnwindSafe for PluginResponseBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V