[−]Trait uckb_jsonrpc_core::types::prelude::Entity
Associated Types
Loading content...Associated Constants
Loading content...Required methods
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8]
fn from_slice(slice: &[u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Self, VerificationError>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Implementors
impl Entity for AddFilter
[src]
type Builder = AddFilterBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> AddFilter
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<AddFilter, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<AddFilter, VerificationError>
[src]
slice: &[u8]
) -> Result<AddFilter, VerificationError>
pub fn new_builder() -> <AddFilter as Entity>::Builder
[src]
pub fn as_builder(self) -> <AddFilter as Entity>::Builder
[src]
impl Entity for Address
[src]
type Builder = AddressBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Address
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Address, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Address, VerificationError>
[src]
pub fn new_builder() -> <Address as Entity>::Builder
[src]
pub fn as_builder(self) -> <Address as Entity>::Builder
[src]
impl Entity for AddressVec
[src]
type Builder = AddressVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> AddressVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<AddressVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<AddressVec, VerificationError>
[src]
slice: &[u8]
) -> Result<AddressVec, VerificationError>
pub fn new_builder() -> <AddressVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <AddressVec as Entity>::Builder
[src]
impl Entity for Alert
[src]
type Builder = AlertBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Alert
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Alert, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Alert, VerificationError>
[src]
pub fn new_builder() -> <Alert as Entity>::Builder
[src]
pub fn as_builder(self) -> <Alert as Entity>::Builder
[src]
impl Entity for BeUint32
[src]
type Builder = BeUint32Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BeUint32
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BeUint32, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BeUint32, VerificationError>
[src]
slice: &[u8]
) -> Result<BeUint32, VerificationError>
pub fn new_builder() -> <BeUint32 as Entity>::Builder
[src]
pub fn as_builder(self) -> <BeUint32 as Entity>::Builder
[src]
impl Entity for BeUint64
[src]
type Builder = BeUint64Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BeUint64
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BeUint64, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BeUint64, VerificationError>
[src]
slice: &[u8]
) -> Result<BeUint64, VerificationError>
pub fn new_builder() -> <BeUint64 as Entity>::Builder
[src]
pub fn as_builder(self) -> <BeUint64 as Entity>::Builder
[src]
impl Entity for Block
[src]
type Builder = BlockBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Block
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Block, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Block, VerificationError>
[src]
pub fn new_builder() -> <Block as Entity>::Builder
[src]
pub fn as_builder(self) -> <Block as Entity>::Builder
[src]
impl Entity for BlockExt
[src]
type Builder = BlockExtBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BlockExt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BlockExt, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BlockExt, VerificationError>
[src]
slice: &[u8]
) -> Result<BlockExt, VerificationError>
pub fn new_builder() -> <BlockExt as Entity>::Builder
[src]
pub fn as_builder(self) -> <BlockExt as Entity>::Builder
[src]
impl Entity for BlockProposal
[src]
type Builder = BlockProposalBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BlockProposal
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BlockProposal, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BlockProposal, VerificationError>
[src]
slice: &[u8]
) -> Result<BlockProposal, VerificationError>
pub fn new_builder() -> <BlockProposal as Entity>::Builder
[src]
pub fn as_builder(self) -> <BlockProposal as Entity>::Builder
[src]
impl Entity for BlockTransactions
[src]
type Builder = BlockTransactionsBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BlockTransactions
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BlockTransactions, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BlockTransactions, VerificationError>
[src]
slice: &[u8]
) -> Result<BlockTransactions, VerificationError>
pub fn new_builder() -> <BlockTransactions as Entity>::Builder
[src]
pub fn as_builder(self) -> <BlockTransactions as Entity>::Builder
[src]
impl Entity for Bool
[src]
type Builder = BoolBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Bool
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Bool, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Bool, VerificationError>
[src]
pub fn new_builder() -> <Bool as Entity>::Builder
[src]
pub fn as_builder(self) -> <Bool as Entity>::Builder
[src]
impl Entity for BoolOpt
[src]
type Builder = BoolOptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BoolOpt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BoolOpt, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<BoolOpt, VerificationError>
[src]
pub fn new_builder() -> <BoolOpt as Entity>::Builder
[src]
pub fn as_builder(self) -> <BoolOpt as Entity>::Builder
[src]
impl Entity for Byte32
[src]
type Builder = Byte32Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Byte32
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Byte32, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Byte32, VerificationError>
[src]
pub fn new_builder() -> <Byte32 as Entity>::Builder
[src]
pub fn as_builder(self) -> <Byte32 as Entity>::Builder
[src]
impl Entity for Byte32Opt
[src]
type Builder = Byte32OptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Byte32Opt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Byte32Opt, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<Byte32Opt, VerificationError>
[src]
slice: &[u8]
) -> Result<Byte32Opt, VerificationError>
pub fn new_builder() -> <Byte32Opt as Entity>::Builder
[src]
pub fn as_builder(self) -> <Byte32Opt as Entity>::Builder
[src]
impl Entity for Byte32Vec
[src]
type Builder = Byte32VecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Byte32Vec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Byte32Vec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<Byte32Vec, VerificationError>
[src]
slice: &[u8]
) -> Result<Byte32Vec, VerificationError>
pub fn new_builder() -> <Byte32Vec as Entity>::Builder
[src]
pub fn as_builder(self) -> <Byte32Vec as Entity>::Builder
[src]
impl Entity for Bytes
[src]
type Builder = BytesBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Bytes
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Bytes, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Bytes, VerificationError>
[src]
pub fn new_builder() -> <Bytes as Entity>::Builder
[src]
pub fn as_builder(self) -> <Bytes as Entity>::Builder
[src]
impl Entity for BytesOpt
[src]
type Builder = BytesOptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BytesOpt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BytesOpt, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BytesOpt, VerificationError>
[src]
slice: &[u8]
) -> Result<BytesOpt, VerificationError>
pub fn new_builder() -> <BytesOpt as Entity>::Builder
[src]
pub fn as_builder(self) -> <BytesOpt as Entity>::Builder
[src]
impl Entity for BytesVec
[src]
type Builder = BytesVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> BytesVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<BytesVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<BytesVec, VerificationError>
[src]
slice: &[u8]
) -> Result<BytesVec, VerificationError>
pub fn new_builder() -> <BytesVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <BytesVec as Entity>::Builder
[src]
impl Entity for CellDataEntry
[src]
type Builder = CellDataEntryBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellDataEntry
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellDataEntry, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellDataEntry, VerificationError>
[src]
slice: &[u8]
) -> Result<CellDataEntry, VerificationError>
pub fn new_builder() -> <CellDataEntry as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellDataEntry as Entity>::Builder
[src]
impl Entity for CellDep
[src]
type Builder = CellDepBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellDep
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellDep, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<CellDep, VerificationError>
[src]
pub fn new_builder() -> <CellDep as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellDep as Entity>::Builder
[src]
impl Entity for CellDepVec
[src]
type Builder = CellDepVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellDepVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellDepVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellDepVec, VerificationError>
[src]
slice: &[u8]
) -> Result<CellDepVec, VerificationError>
pub fn new_builder() -> <CellDepVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellDepVec as Entity>::Builder
[src]
impl Entity for CellEntry
[src]
type Builder = CellEntryBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellEntry
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellEntry, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellEntry, VerificationError>
[src]
slice: &[u8]
) -> Result<CellEntry, VerificationError>
pub fn new_builder() -> <CellEntry as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellEntry as Entity>::Builder
[src]
impl Entity for CellInput
[src]
type Builder = CellInputBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellInput
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellInput, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellInput, VerificationError>
[src]
slice: &[u8]
) -> Result<CellInput, VerificationError>
pub fn new_builder() -> <CellInput as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellInput as Entity>::Builder
[src]
impl Entity for CellInputVec
[src]
type Builder = CellInputVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellInputVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellInputVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellInputVec, VerificationError>
[src]
slice: &[u8]
) -> Result<CellInputVec, VerificationError>
pub fn new_builder() -> <CellInputVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellInputVec as Entity>::Builder
[src]
impl Entity for CellOutput
[src]
type Builder = CellOutputBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellOutput
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellOutput, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellOutput, VerificationError>
[src]
slice: &[u8]
) -> Result<CellOutput, VerificationError>
pub fn new_builder() -> <CellOutput as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellOutput as Entity>::Builder
[src]
impl Entity for CellOutputOpt
[src]
type Builder = CellOutputOptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellOutputOpt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellOutputOpt, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellOutputOpt, VerificationError>
[src]
slice: &[u8]
) -> Result<CellOutputOpt, VerificationError>
pub fn new_builder() -> <CellOutputOpt as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellOutputOpt as Entity>::Builder
[src]
impl Entity for CellOutputVec
[src]
type Builder = CellOutputVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellOutputVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellOutputVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellOutputVec, VerificationError>
[src]
slice: &[u8]
) -> Result<CellOutputVec, VerificationError>
pub fn new_builder() -> <CellOutputVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellOutputVec as Entity>::Builder
[src]
impl Entity for CellbaseWitness
[src]
type Builder = CellbaseWitnessBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CellbaseWitness
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CellbaseWitness, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CellbaseWitness, VerificationError>
[src]
slice: &[u8]
) -> Result<CellbaseWitness, VerificationError>
pub fn new_builder() -> <CellbaseWitness as Entity>::Builder
[src]
pub fn as_builder(self) -> <CellbaseWitness as Entity>::Builder
[src]
impl Entity for ClearFilter
[src]
type Builder = ClearFilterBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> ClearFilter
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<ClearFilter, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<ClearFilter, VerificationError>
[src]
slice: &[u8]
) -> Result<ClearFilter, VerificationError>
pub fn new_builder() -> <ClearFilter as Entity>::Builder
[src]
pub fn as_builder(self) -> <ClearFilter as Entity>::Builder
[src]
impl Entity for CompactBlock
[src]
type Builder = CompactBlockBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> CompactBlock
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<CompactBlock, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<CompactBlock, VerificationError>
[src]
slice: &[u8]
) -> Result<CompactBlock, VerificationError>
pub fn new_builder() -> <CompactBlock as Entity>::Builder
[src]
pub fn as_builder(self) -> <CompactBlock as Entity>::Builder
[src]
impl Entity for DiscoveryBool
[src]
type Builder = DiscoveryBoolBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> DiscoveryBool
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<DiscoveryBool, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<DiscoveryBool, VerificationError>
[src]
slice: &[u8]
) -> Result<DiscoveryBool, VerificationError>
pub fn new_builder() -> <DiscoveryBool as Entity>::Builder
[src]
pub fn as_builder(self) -> <DiscoveryBool as Entity>::Builder
[src]
impl Entity for DiscoveryMessage
[src]
type Builder = DiscoveryMessageBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> DiscoveryMessage
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<DiscoveryMessage, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<DiscoveryMessage, VerificationError>
[src]
slice: &[u8]
) -> Result<DiscoveryMessage, VerificationError>
pub fn new_builder() -> <DiscoveryMessage as Entity>::Builder
[src]
pub fn as_builder(self) -> <DiscoveryMessage as Entity>::Builder
[src]
impl Entity for DiscoveryPayload
[src]
type Builder = DiscoveryPayloadBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> DiscoveryPayload
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<DiscoveryPayload, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<DiscoveryPayload, VerificationError>
[src]
slice: &[u8]
) -> Result<DiscoveryPayload, VerificationError>
pub fn new_builder() -> <DiscoveryPayload as Entity>::Builder
[src]
pub fn as_builder(self) -> <DiscoveryPayload as Entity>::Builder
[src]
impl Entity for EpochExt
[src]
type Builder = EpochExtBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> EpochExt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<EpochExt, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<EpochExt, VerificationError>
[src]
slice: &[u8]
) -> Result<EpochExt, VerificationError>
pub fn new_builder() -> <EpochExt as Entity>::Builder
[src]
pub fn as_builder(self) -> <EpochExt as Entity>::Builder
[src]
impl Entity for FilteredBlock
[src]
type Builder = FilteredBlockBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> FilteredBlock
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<FilteredBlock, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<FilteredBlock, VerificationError>
[src]
slice: &[u8]
) -> Result<FilteredBlock, VerificationError>
pub fn new_builder() -> <FilteredBlock as Entity>::Builder
[src]
pub fn as_builder(self) -> <FilteredBlock as Entity>::Builder
[src]
impl Entity for GetBlockProposal
[src]
type Builder = GetBlockProposalBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> GetBlockProposal
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<GetBlockProposal, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<GetBlockProposal, VerificationError>
[src]
slice: &[u8]
) -> Result<GetBlockProposal, VerificationError>
pub fn new_builder() -> <GetBlockProposal as Entity>::Builder
[src]
pub fn as_builder(self) -> <GetBlockProposal as Entity>::Builder
[src]
impl Entity for GetBlockTransactions
[src]
type Builder = GetBlockTransactionsBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> GetBlockTransactions
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(
slice: &[u8]
) -> Result<GetBlockTransactions, VerificationError>
[src]
slice: &[u8]
) -> Result<GetBlockTransactions, VerificationError>
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<GetBlockTransactions, VerificationError>
[src]
slice: &[u8]
) -> Result<GetBlockTransactions, VerificationError>
pub fn new_builder() -> <GetBlockTransactions as Entity>::Builder
[src]
pub fn as_builder(self) -> <GetBlockTransactions as Entity>::Builder
[src]
impl Entity for GetBlocks
[src]
type Builder = GetBlocksBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> GetBlocks
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<GetBlocks, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<GetBlocks, VerificationError>
[src]
slice: &[u8]
) -> Result<GetBlocks, VerificationError>
pub fn new_builder() -> <GetBlocks as Entity>::Builder
[src]
pub fn as_builder(self) -> <GetBlocks as Entity>::Builder
[src]
impl Entity for GetHeaders
[src]
type Builder = GetHeadersBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> GetHeaders
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<GetHeaders, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<GetHeaders, VerificationError>
[src]
slice: &[u8]
) -> Result<GetHeaders, VerificationError>
pub fn new_builder() -> <GetHeaders as Entity>::Builder
[src]
pub fn as_builder(self) -> <GetHeaders as Entity>::Builder
[src]
impl Entity for GetNodes
[src]
type Builder = GetNodesBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> GetNodes
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<GetNodes, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<GetNodes, VerificationError>
[src]
slice: &[u8]
) -> Result<GetNodes, VerificationError>
pub fn new_builder() -> <GetNodes as Entity>::Builder
[src]
pub fn as_builder(self) -> <GetNodes as Entity>::Builder
[src]
impl Entity for GetRelayTransactions
[src]
type Builder = GetRelayTransactionsBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> GetRelayTransactions
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(
slice: &[u8]
) -> Result<GetRelayTransactions, VerificationError>
[src]
slice: &[u8]
) -> Result<GetRelayTransactions, VerificationError>
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<GetRelayTransactions, VerificationError>
[src]
slice: &[u8]
) -> Result<GetRelayTransactions, VerificationError>
pub fn new_builder() -> <GetRelayTransactions as Entity>::Builder
[src]
pub fn as_builder(self) -> <GetRelayTransactions as Entity>::Builder
[src]
impl Entity for Header
[src]
type Builder = HeaderBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Header
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Header, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Header, VerificationError>
[src]
pub fn new_builder() -> <Header as Entity>::Builder
[src]
pub fn as_builder(self) -> <Header as Entity>::Builder
[src]
impl Entity for HeaderVec
[src]
type Builder = HeaderVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> HeaderVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<HeaderVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<HeaderVec, VerificationError>
[src]
slice: &[u8]
) -> Result<HeaderVec, VerificationError>
pub fn new_builder() -> <HeaderVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <HeaderVec as Entity>::Builder
[src]
impl Entity for HeaderView
[src]
type Builder = HeaderViewBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> HeaderView
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<HeaderView, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<HeaderView, VerificationError>
[src]
slice: &[u8]
) -> Result<HeaderView, VerificationError>
pub fn new_builder() -> <HeaderView as Entity>::Builder
[src]
pub fn as_builder(self) -> <HeaderView as Entity>::Builder
[src]
impl Entity for Identify
[src]
type Builder = IdentifyBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Identify
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Identify, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<Identify, VerificationError>
[src]
slice: &[u8]
) -> Result<Identify, VerificationError>
pub fn new_builder() -> <Identify as Entity>::Builder
[src]
pub fn as_builder(self) -> <Identify as Entity>::Builder
[src]
impl Entity for IdentifyMessage
[src]
type Builder = IdentifyMessageBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> IdentifyMessage
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<IdentifyMessage, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<IdentifyMessage, VerificationError>
[src]
slice: &[u8]
) -> Result<IdentifyMessage, VerificationError>
pub fn new_builder() -> <IdentifyMessage as Entity>::Builder
[src]
pub fn as_builder(self) -> <IdentifyMessage as Entity>::Builder
[src]
impl Entity for InIBD
[src]
type Builder = InIBDBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> InIBD
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<InIBD, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<InIBD, VerificationError>
[src]
pub fn new_builder() -> <InIBD as Entity>::Builder
[src]
pub fn as_builder(self) -> <InIBD as Entity>::Builder
[src]
impl Entity for IndexTransaction
[src]
type Builder = IndexTransactionBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> IndexTransaction
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<IndexTransaction, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<IndexTransaction, VerificationError>
[src]
slice: &[u8]
) -> Result<IndexTransaction, VerificationError>
pub fn new_builder() -> <IndexTransaction as Entity>::Builder
[src]
pub fn as_builder(self) -> <IndexTransaction as Entity>::Builder
[src]
impl Entity for IndexTransactionVec
[src]
type Builder = IndexTransactionVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> IndexTransactionVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(
slice: &[u8]
) -> Result<IndexTransactionVec, VerificationError>
[src]
slice: &[u8]
) -> Result<IndexTransactionVec, VerificationError>
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<IndexTransactionVec, VerificationError>
[src]
slice: &[u8]
) -> Result<IndexTransactionVec, VerificationError>
pub fn new_builder() -> <IndexTransactionVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <IndexTransactionVec as Entity>::Builder
[src]
impl Entity for LiveCellOutput
[src]
type Builder = LiveCellOutputBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> LiveCellOutput
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<LiveCellOutput, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<LiveCellOutput, VerificationError>
[src]
slice: &[u8]
) -> Result<LiveCellOutput, VerificationError>
pub fn new_builder() -> <LiveCellOutput as Entity>::Builder
[src]
pub fn as_builder(self) -> <LiveCellOutput as Entity>::Builder
[src]
impl Entity for LockHashCellOutput
[src]
type Builder = LockHashCellOutputBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> LockHashCellOutput
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<LockHashCellOutput, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<LockHashCellOutput, VerificationError>
[src]
slice: &[u8]
) -> Result<LockHashCellOutput, VerificationError>
pub fn new_builder() -> <LockHashCellOutput as Entity>::Builder
[src]
pub fn as_builder(self) -> <LockHashCellOutput as Entity>::Builder
[src]
impl Entity for LockHashIndex
[src]
type Builder = LockHashIndexBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> LockHashIndex
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<LockHashIndex, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<LockHashIndex, VerificationError>
[src]
slice: &[u8]
) -> Result<LockHashIndex, VerificationError>
pub fn new_builder() -> <LockHashIndex as Entity>::Builder
[src]
pub fn as_builder(self) -> <LockHashIndex as Entity>::Builder
[src]
impl Entity for LockHashIndexState
[src]
type Builder = LockHashIndexStateBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> LockHashIndexState
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<LockHashIndexState, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<LockHashIndexState, VerificationError>
[src]
slice: &[u8]
) -> Result<LockHashIndexState, VerificationError>
pub fn new_builder() -> <LockHashIndexState as Entity>::Builder
[src]
pub fn as_builder(self) -> <LockHashIndexState as Entity>::Builder
[src]
impl Entity for MerkleProof
[src]
type Builder = MerkleProofBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> MerkleProof
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<MerkleProof, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<MerkleProof, VerificationError>
[src]
slice: &[u8]
) -> Result<MerkleProof, VerificationError>
pub fn new_builder() -> <MerkleProof as Entity>::Builder
[src]
pub fn as_builder(self) -> <MerkleProof as Entity>::Builder
[src]
impl Entity for Node
[src]
type Builder = NodeBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Node
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Node, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Node, VerificationError>
[src]
pub fn new_builder() -> <Node as Entity>::Builder
[src]
pub fn as_builder(self) -> <Node as Entity>::Builder
[src]
impl Entity for NodeVec
[src]
type Builder = NodeVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> NodeVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<NodeVec, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<NodeVec, VerificationError>
[src]
pub fn new_builder() -> <NodeVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <NodeVec as Entity>::Builder
[src]
impl Entity for Nodes
[src]
type Builder = NodesBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Nodes
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Nodes, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Nodes, VerificationError>
[src]
pub fn new_builder() -> <Nodes as Entity>::Builder
[src]
pub fn as_builder(self) -> <Nodes as Entity>::Builder
[src]
impl Entity for OutPoint
[src]
type Builder = OutPointBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> OutPoint
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<OutPoint, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<OutPoint, VerificationError>
[src]
slice: &[u8]
) -> Result<OutPoint, VerificationError>
pub fn new_builder() -> <OutPoint as Entity>::Builder
[src]
pub fn as_builder(self) -> <OutPoint as Entity>::Builder
[src]
impl Entity for OutPointVec
[src]
type Builder = OutPointVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> OutPointVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<OutPointVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<OutPointVec, VerificationError>
[src]
slice: &[u8]
) -> Result<OutPointVec, VerificationError>
pub fn new_builder() -> <OutPointVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <OutPointVec as Entity>::Builder
[src]
impl Entity for Ping
[src]
type Builder = PingBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Ping
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Ping, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Ping, VerificationError>
[src]
pub fn new_builder() -> <Ping as Entity>::Builder
[src]
pub fn as_builder(self) -> <Ping as Entity>::Builder
[src]
impl Entity for PingMessage
[src]
type Builder = PingMessageBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> PingMessage
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<PingMessage, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<PingMessage, VerificationError>
[src]
slice: &[u8]
) -> Result<PingMessage, VerificationError>
pub fn new_builder() -> <PingMessage as Entity>::Builder
[src]
pub fn as_builder(self) -> <PingMessage as Entity>::Builder
[src]
impl Entity for PingPayload
[src]
type Builder = PingPayloadBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> PingPayload
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<PingPayload, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<PingPayload, VerificationError>
[src]
slice: &[u8]
) -> Result<PingPayload, VerificationError>
pub fn new_builder() -> <PingPayload as Entity>::Builder
[src]
pub fn as_builder(self) -> <PingPayload as Entity>::Builder
[src]
impl Entity for Pong
[src]
type Builder = PongBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Pong
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Pong, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Pong, VerificationError>
[src]
pub fn new_builder() -> <Pong as Entity>::Builder
[src]
pub fn as_builder(self) -> <Pong as Entity>::Builder
[src]
impl Entity for PortOpt
[src]
type Builder = PortOptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> PortOpt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<PortOpt, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<PortOpt, VerificationError>
[src]
pub fn new_builder() -> <PortOpt as Entity>::Builder
[src]
pub fn as_builder(self) -> <PortOpt as Entity>::Builder
[src]
impl Entity for ProposalShortId
[src]
type Builder = ProposalShortIdBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> ProposalShortId
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<ProposalShortId, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<ProposalShortId, VerificationError>
[src]
slice: &[u8]
) -> Result<ProposalShortId, VerificationError>
pub fn new_builder() -> <ProposalShortId as Entity>::Builder
[src]
pub fn as_builder(self) -> <ProposalShortId as Entity>::Builder
[src]
impl Entity for ProposalShortIdVec
[src]
type Builder = ProposalShortIdVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> ProposalShortIdVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<ProposalShortIdVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<ProposalShortIdVec, VerificationError>
[src]
slice: &[u8]
) -> Result<ProposalShortIdVec, VerificationError>
pub fn new_builder() -> <ProposalShortIdVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <ProposalShortIdVec as Entity>::Builder
[src]
impl Entity for RawAlert
[src]
type Builder = RawAlertBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RawAlert
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<RawAlert, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RawAlert, VerificationError>
[src]
slice: &[u8]
) -> Result<RawAlert, VerificationError>
pub fn new_builder() -> <RawAlert as Entity>::Builder
[src]
pub fn as_builder(self) -> <RawAlert as Entity>::Builder
[src]
impl Entity for RawHeader
[src]
type Builder = RawHeaderBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RawHeader
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<RawHeader, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RawHeader, VerificationError>
[src]
slice: &[u8]
) -> Result<RawHeader, VerificationError>
pub fn new_builder() -> <RawHeader as Entity>::Builder
[src]
pub fn as_builder(self) -> <RawHeader as Entity>::Builder
[src]
impl Entity for RawTransaction
[src]
type Builder = RawTransactionBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RawTransaction
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<RawTransaction, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RawTransaction, VerificationError>
[src]
slice: &[u8]
) -> Result<RawTransaction, VerificationError>
pub fn new_builder() -> <RawTransaction as Entity>::Builder
[src]
pub fn as_builder(self) -> <RawTransaction as Entity>::Builder
[src]
impl Entity for RelayMessage
[src]
type Builder = RelayMessageBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RelayMessage
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<RelayMessage, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RelayMessage, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayMessage, VerificationError>
pub fn new_builder() -> <RelayMessage as Entity>::Builder
[src]
pub fn as_builder(self) -> <RelayMessage as Entity>::Builder
[src]
impl Entity for RelayTransaction
[src]
type Builder = RelayTransactionBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RelayTransaction
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<RelayTransaction, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RelayTransaction, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayTransaction, VerificationError>
pub fn new_builder() -> <RelayTransaction as Entity>::Builder
[src]
pub fn as_builder(self) -> <RelayTransaction as Entity>::Builder
[src]
impl Entity for RelayTransactionHashes
[src]
type Builder = RelayTransactionHashesBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RelayTransactionHashes
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(
slice: &[u8]
) -> Result<RelayTransactionHashes, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayTransactionHashes, VerificationError>
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RelayTransactionHashes, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayTransactionHashes, VerificationError>
pub fn new_builder() -> <RelayTransactionHashes as Entity>::Builder
[src]
pub fn as_builder(self) -> <RelayTransactionHashes as Entity>::Builder
[src]
impl Entity for RelayTransactionVec
[src]
type Builder = RelayTransactionVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RelayTransactionVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(
slice: &[u8]
) -> Result<RelayTransactionVec, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayTransactionVec, VerificationError>
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RelayTransactionVec, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayTransactionVec, VerificationError>
pub fn new_builder() -> <RelayTransactionVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <RelayTransactionVec as Entity>::Builder
[src]
impl Entity for RelayTransactions
[src]
type Builder = RelayTransactionsBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> RelayTransactions
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<RelayTransactions, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<RelayTransactions, VerificationError>
[src]
slice: &[u8]
) -> Result<RelayTransactions, VerificationError>
pub fn new_builder() -> <RelayTransactions as Entity>::Builder
[src]
pub fn as_builder(self) -> <RelayTransactions as Entity>::Builder
[src]
impl Entity for Script
[src]
type Builder = ScriptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Script
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Script, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Script, VerificationError>
[src]
pub fn new_builder() -> <Script as Entity>::Builder
[src]
pub fn as_builder(self) -> <Script as Entity>::Builder
[src]
impl Entity for ScriptOpt
[src]
type Builder = ScriptOptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> ScriptOpt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<ScriptOpt, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<ScriptOpt, VerificationError>
[src]
slice: &[u8]
) -> Result<ScriptOpt, VerificationError>
pub fn new_builder() -> <ScriptOpt as Entity>::Builder
[src]
pub fn as_builder(self) -> <ScriptOpt as Entity>::Builder
[src]
impl Entity for SendBlock
[src]
type Builder = SendBlockBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> SendBlock
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<SendBlock, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<SendBlock, VerificationError>
[src]
slice: &[u8]
) -> Result<SendBlock, VerificationError>
pub fn new_builder() -> <SendBlock as Entity>::Builder
[src]
pub fn as_builder(self) -> <SendBlock as Entity>::Builder
[src]
impl Entity for SendHeaders
[src]
type Builder = SendHeadersBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> SendHeaders
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<SendHeaders, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<SendHeaders, VerificationError>
[src]
slice: &[u8]
) -> Result<SendHeaders, VerificationError>
pub fn new_builder() -> <SendHeaders as Entity>::Builder
[src]
pub fn as_builder(self) -> <SendHeaders as Entity>::Builder
[src]
impl Entity for SetFilter
[src]
type Builder = SetFilterBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> SetFilter
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<SetFilter, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<SetFilter, VerificationError>
[src]
slice: &[u8]
) -> Result<SetFilter, VerificationError>
pub fn new_builder() -> <SetFilter as Entity>::Builder
[src]
pub fn as_builder(self) -> <SetFilter as Entity>::Builder
[src]
impl Entity for SyncMessage
[src]
type Builder = SyncMessageBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> SyncMessage
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<SyncMessage, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<SyncMessage, VerificationError>
[src]
slice: &[u8]
) -> Result<SyncMessage, VerificationError>
pub fn new_builder() -> <SyncMessage as Entity>::Builder
[src]
pub fn as_builder(self) -> <SyncMessage as Entity>::Builder
[src]
impl Entity for Time
[src]
type Builder = TimeBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Time
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Time, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Time, VerificationError>
[src]
pub fn new_builder() -> <Time as Entity>::Builder
[src]
pub fn as_builder(self) -> <Time as Entity>::Builder
[src]
impl Entity for Transaction
[src]
type Builder = TransactionBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Transaction
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Transaction, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<Transaction, VerificationError>
[src]
slice: &[u8]
) -> Result<Transaction, VerificationError>
pub fn new_builder() -> <Transaction as Entity>::Builder
[src]
pub fn as_builder(self) -> <Transaction as Entity>::Builder
[src]
impl Entity for TransactionInfo
[src]
type Builder = TransactionInfoBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> TransactionInfo
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<TransactionInfo, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<TransactionInfo, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionInfo, VerificationError>
pub fn new_builder() -> <TransactionInfo as Entity>::Builder
[src]
pub fn as_builder(self) -> <TransactionInfo as Entity>::Builder
[src]
impl Entity for TransactionKey
[src]
type Builder = TransactionKeyBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> TransactionKey
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<TransactionKey, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<TransactionKey, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionKey, VerificationError>
pub fn new_builder() -> <TransactionKey as Entity>::Builder
[src]
pub fn as_builder(self) -> <TransactionKey as Entity>::Builder
[src]
impl Entity for TransactionPoint
[src]
type Builder = TransactionPointBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> TransactionPoint
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<TransactionPoint, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<TransactionPoint, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionPoint, VerificationError>
pub fn new_builder() -> <TransactionPoint as Entity>::Builder
[src]
pub fn as_builder(self) -> <TransactionPoint as Entity>::Builder
[src]
impl Entity for TransactionPointOpt
[src]
type Builder = TransactionPointOptBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> TransactionPointOpt
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(
slice: &[u8]
) -> Result<TransactionPointOpt, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionPointOpt, VerificationError>
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<TransactionPointOpt, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionPointOpt, VerificationError>
pub fn new_builder() -> <TransactionPointOpt as Entity>::Builder
[src]
pub fn as_builder(self) -> <TransactionPointOpt as Entity>::Builder
[src]
impl Entity for TransactionVec
[src]
type Builder = TransactionVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> TransactionVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<TransactionVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<TransactionVec, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionVec, VerificationError>
pub fn new_builder() -> <TransactionVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <TransactionVec as Entity>::Builder
[src]
impl Entity for TransactionView
[src]
type Builder = TransactionViewBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> TransactionView
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<TransactionView, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<TransactionView, VerificationError>
[src]
slice: &[u8]
) -> Result<TransactionView, VerificationError>
pub fn new_builder() -> <TransactionView as Entity>::Builder
[src]
pub fn as_builder(self) -> <TransactionView as Entity>::Builder
[src]
impl Entity for Uint16
[src]
type Builder = Uint16Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint16
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint16, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Uint16, VerificationError>
[src]
pub fn new_builder() -> <Uint16 as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint16 as Entity>::Builder
[src]
impl Entity for Uint32
[src]
type Builder = Uint32Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint32
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint32, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Uint32, VerificationError>
[src]
pub fn new_builder() -> <Uint32 as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint32 as Entity>::Builder
[src]
impl Entity for Uint32Vec
[src]
type Builder = Uint32VecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint32Vec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint32Vec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<Uint32Vec, VerificationError>
[src]
slice: &[u8]
) -> Result<Uint32Vec, VerificationError>
pub fn new_builder() -> <Uint32Vec as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint32Vec as Entity>::Builder
[src]
impl Entity for Uint64
[src]
type Builder = Uint64Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint64
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint64, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Uint64, VerificationError>
[src]
pub fn new_builder() -> <Uint64 as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint64 as Entity>::Builder
[src]
impl Entity for Uint64Vec
[src]
type Builder = Uint64VecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint64Vec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint64Vec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<Uint64Vec, VerificationError>
[src]
slice: &[u8]
) -> Result<Uint64Vec, VerificationError>
pub fn new_builder() -> <Uint64Vec as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint64Vec as Entity>::Builder
[src]
impl Entity for Uint128
[src]
type Builder = Uint128Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint128
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint128, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Uint128, VerificationError>
[src]
pub fn new_builder() -> <Uint128 as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint128 as Entity>::Builder
[src]
impl Entity for Uint256
[src]
type Builder = Uint256Builder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> Uint256
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<Uint256, VerificationError>
[src]
pub fn from_compatible_slice(slice: &[u8]) -> Result<Uint256, VerificationError>
[src]
pub fn new_builder() -> <Uint256 as Entity>::Builder
[src]
pub fn as_builder(self) -> <Uint256 as Entity>::Builder
[src]
impl Entity for UncleBlock
[src]
type Builder = UncleBlockBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> UncleBlock
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<UncleBlock, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<UncleBlock, VerificationError>
[src]
slice: &[u8]
) -> Result<UncleBlock, VerificationError>
pub fn new_builder() -> <UncleBlock as Entity>::Builder
[src]
pub fn as_builder(self) -> <UncleBlock as Entity>::Builder
[src]
impl Entity for UncleBlockVec
[src]
type Builder = UncleBlockVecBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> UncleBlockVec
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<UncleBlockVec, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<UncleBlockVec, VerificationError>
[src]
slice: &[u8]
) -> Result<UncleBlockVec, VerificationError>
pub fn new_builder() -> <UncleBlockVec as Entity>::Builder
[src]
pub fn as_builder(self) -> <UncleBlockVec as Entity>::Builder
[src]
impl Entity for UncleBlockVecView
[src]
type Builder = UncleBlockVecViewBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> UncleBlockVecView
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<UncleBlockVecView, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<UncleBlockVecView, VerificationError>
[src]
slice: &[u8]
) -> Result<UncleBlockVecView, VerificationError>
pub fn new_builder() -> <UncleBlockVecView as Entity>::Builder
[src]
pub fn as_builder(self) -> <UncleBlockVecView as Entity>::Builder
[src]
impl Entity for WitnessArgs
[src]
type Builder = WitnessArgsBuilder
pub const NAME: &'static str
[src]
pub fn new_unchecked(data: Bytes) -> WitnessArgs
[src]
pub fn as_bytes(&self) -> Bytes
[src]
pub fn as_slice(&self) -> &[u8]
[src]
pub fn from_slice(slice: &[u8]) -> Result<WitnessArgs, VerificationError>
[src]
pub fn from_compatible_slice(
slice: &[u8]
) -> Result<WitnessArgs, VerificationError>
[src]
slice: &[u8]
) -> Result<WitnessArgs, VerificationError>