Struct ckb_sdk::types::omni_lock::IdentityOptReader
source · pub struct IdentityOptReader<'r>(_);Implementations§
Trait Implementations§
source§impl<'r> Clone for IdentityOptReader<'r>
impl<'r> Clone for IdentityOptReader<'r>
source§fn clone(&self) -> IdentityOptReader<'r>
fn clone(&self) -> IdentityOptReader<'r>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'r> Debug for IdentityOptReader<'r>
impl<'r> Debug for IdentityOptReader<'r>
source§impl<'r> Display for IdentityOptReader<'r>
impl<'r> Display for IdentityOptReader<'r>
source§impl<'r> LowerHex for IdentityOptReader<'r>
impl<'r> LowerHex for IdentityOptReader<'r>
source§impl<'r> Reader<'r> for IdentityOptReader<'r>
impl<'r> Reader<'r> for IdentityOptReader<'r>
type Entity = IdentityOpt
const NAME: &'static str = "IdentityOptReader"
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8] ⓘ
fn verify(slice: &[u8], compatible: bool) -> VerificationResult<()>
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
impl<'r> Copy for IdentityOptReader<'r>
Auto Trait Implementations§
impl<'r> RefUnwindSafe for IdentityOptReader<'r>
impl<'r> Send for IdentityOptReader<'r>
impl<'r> Sync for IdentityOptReader<'r>
impl<'r> Unpin for IdentityOptReader<'r>
impl<'r> UnwindSafe for IdentityOptReader<'r>
Blanket Implementations§
source§impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
source§fn from_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_slice(..) with confidence and we assume that it’s impossible to fail.source§fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_compatible_slice(..) with confidence and we assume that it’s impossible to fail.