pub fn command(&self) -> &'static str {
        match self {
            Response::Nil => "Nil",

            Response::Peers(_) => "Peers",

            Response::Blocks(_) => "Blocks",
            Response::BlockHashes(_) => "BlockHashes",

            Response::BlockHeaders { .. } => "BlockHeaders",

            Response::Transactions(_) => "Transactions",
            Response::TransactionIds(_) => "TransactionIds",
        }
    }
/// Returns the Zebra internal response type as a string.
Returns the Zebra internal response type as a string.
Returns the Zebra internal response type as a string .
pub fn command(&self) -> &'static str {
        match self {
            Response::Nil => "Nil",
            Response::Peers(_) => "Peers",
            Response::Blocks(_) => "Blocks",
            Response::BlockHashes(_) => "BlockHashes",
            Response::BlockHeaders { .. } => "BlockHeaders",
            Response::Transactions(_) => "Transactions",
            Response::TransactionIds(_) => "TransactionIds",
        }
    }
pub fn command ( & self ) -> & ' static str { match self { Response :: Nil => " " , Response :: Peers ( _ ) => " " , Response :: Blocks ( _ ) => " " , Response :: BlockHashes ( _ ) => " " , Response :: BlockHeaders { .. } => " " , Response :: Transactions ( _ ) => " " , Response :: TransactionIds ( _ ) => " " , } }
Returns the Zebra internal response type as a string.
Returns the Zebra internal response type as a string .
&self