pub struct SizeU8(pub u8);Tuple Fields
0: u8Trait Implementations
sourceimpl PartialEq<SizeU8> for SizeU8
impl PartialEq<SizeU8> for SizeU8
sourceimpl<'de> RawDecode<'de> for SizeU8
impl<'de> RawDecode<'de> for SizeU8
fn raw_decode(buf: &'de [u8]) -> BuckyResult<(Self, &'de [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> BuckyResult<(Self, &'de [u8])>
sourceimpl RawEncode for SizeU8
impl RawEncode for SizeU8
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>>
sourceimpl RawFixedBytes for SizeU8
impl RawFixedBytes for SizeU8
impl Eq for SizeU8
impl StructuralEq for SizeU8
impl StructuralPartialEq for SizeU8
Auto Trait Implementations
impl RefUnwindSafe for SizeU8
impl Send for SizeU8
impl Sync for SizeU8
impl Unpin for SizeU8
impl UnwindSafe for SizeU8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more