const NAME: &'static str
fn verify(slice: &[u8], compatible: bool) -> Result<(), VerificationError>
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8]
fn to_entity(&self) -> Self::Entity
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
impl<'r> Reader<'r> for BlockReader<'r>
[src]type Entity = Block
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for Byte32Reader<'r>
[src]type Entity = Byte32
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for Byte32VecReader<'r>
[src]type Entity = Byte32Vec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for BytesOptReader<'r>
[src]type Entity = BytesOpt
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for BytesReader<'r>
[src]type Entity = Bytes
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for BytesVecReader<'r>
[src]type Entity = BytesVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellDepReader<'r>
[src]type Entity = CellDep
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellDepVecReader<'r>
[src]type Entity = CellDepVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellInputReader<'r>
[src]type Entity = CellInput
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellInputVecReader<'r>
[src]type Entity = CellInputVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellOutputReader<'r>
[src]type Entity = CellOutput
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellOutputVecReader<'r>
[src]type Entity = CellOutputVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for CellbaseWitnessReader<'r>
[src]type Entity = CellbaseWitness
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for HeaderReader<'r>
[src]type Entity = Header
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for OutPointReader<'r>
[src]type Entity = OutPoint
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for ProposalShortIdReader<'r>
[src]type Entity = ProposalShortId
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for ProposalShortIdVecReader<'r>
[src]type Entity = ProposalShortIdVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for RawHeaderReader<'r>
[src]type Entity = RawHeader
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for RawTransactionReader<'r>
[src]type Entity = RawTransaction
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for ScriptOptReader<'r>
[src]type Entity = ScriptOpt
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for ScriptReader<'r>
[src]type Entity = Script
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for TransactionReader<'r>
[src]type Entity = Transaction
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for TransactionVecReader<'r>
[src]type Entity = TransactionVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for Uint128Reader<'r>
[src]type Entity = Uint128
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for Uint256Reader<'r>
[src]type Entity = Uint256
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for Uint32Reader<'r>
[src]type Entity = Uint32
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for Uint64Reader<'r>
[src]type Entity = Uint64
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for UncleBlockReader<'r>
[src]type Entity = UncleBlock
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for UncleBlockVecReader<'r>
[src]type Entity = UncleBlockVec
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]impl<'r> Reader<'r> for WitnessArgsReader<'r>
[src]type Entity = WitnessArgs
const NAME: &'static str
[src]fn to_entity(&self) -> Self::Entity
[src]fn new_unchecked(slice: &'r [u8]) -> Self
[src]fn as_slice(&self) -> &'r [u8]
[src]fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
[src]