Struct cyfs_base::TailedOwnedData
source · pub struct TailedOwnedData(_);
Trait Implementations§
source§impl AsRef<[u8]> for TailedOwnedData
impl AsRef<[u8]> for TailedOwnedData
source§impl Clone for TailedOwnedData
impl Clone for TailedOwnedData
source§fn clone(&self) -> TailedOwnedData
fn clone(&self) -> TailedOwnedData
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 Debug for TailedOwnedData
impl Debug for TailedOwnedData
source§impl Display for TailedOwnedData
impl Display for TailedOwnedData
source§impl From<&[u8]> for TailedOwnedData
impl From<&[u8]> for TailedOwnedData
source§impl<'de> RawDecode<'de> for TailedOwnedData
impl<'de> RawDecode<'de> for TailedOwnedData
fn raw_decode(buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option( buf: &'de [u8], _opt: &RawDecodeOption ) -> BuckyResult<(Self, &'de [u8])>
source§impl RawEncode for TailedOwnedData
impl RawEncode for TailedOwnedData
fn raw_measure(&self, _purpose: &Option<RawEncodePurpose>) -> BuckyResult<usize>
fn raw_encode<'a>( &self, buf: &'a mut [u8], _purpose: &Option<RawEncodePurpose> ) -> BuckyResult<&'a mut [u8]>
fn raw_tail_encode<'a>( &self, buf: &'a mut [u8], purpose: &Option<RawEncodePurpose> ) -> BuckyResult<&'a [u8]>
fn raw_encode_to_buffer(&self) -> BuckyResult<Vec<u8>>
fn raw_hash_value(&self) -> BuckyResult<HashValue>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> BuckyResult<Vec<u8>>
Auto Trait Implementations§
impl RefUnwindSafe for TailedOwnedData
impl Send for TailedOwnedData
impl Sync for TailedOwnedData
impl Unpin for TailedOwnedData
impl UnwindSafe for TailedOwnedData
Blanket Implementations§
§impl<T, U> AsByteSlice<T> for Uwhere
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
impl<T, U> AsByteSlice<T> for Uwhere T: ToByteSlice, U: AsRef<[T]> + ?Sized,
fn as_byte_slice(&self) -> &[u8] ⓘ
§impl<U> AsSliceOf for Uwhere
U: AsRef<[u8]> + ?Sized,
impl<U> AsSliceOf for Uwhere U: AsRef<[u8]> + ?Sized,
fn as_slice_of<T>(&self) -> Result<&[T], Error>where T: FromByteSlice,
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)