Struct cyfs_base::EmptyProtobufBodyContent
source · [−]pub struct EmptyProtobufBodyContent;
Trait Implementations
sourceimpl Clone for EmptyProtobufBodyContent
impl Clone for EmptyProtobufBodyContent
sourcefn clone(&self) -> EmptyProtobufBodyContent
fn clone(&self) -> EmptyProtobufBodyContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for EmptyProtobufBodyContent
impl Default for EmptyProtobufBodyContent
sourcefn default() -> EmptyProtobufBodyContent
fn default() -> EmptyProtobufBodyContent
Returns the “default value” for a type. Read more
sourceimpl<'de> RawDecode<'de> for EmptyProtobufBodyContent
impl<'de> RawDecode<'de> for EmptyProtobufBodyContent
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 EmptyProtobufBodyContent
impl RawEncode for EmptyProtobufBodyContent
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>>
impl ObjectFormatAutoWithSerde for EmptyProtobufBodyContent
Auto Trait Implementations
impl RefUnwindSafe for EmptyProtobufBodyContent
impl Send for EmptyProtobufBodyContent
impl Sync for EmptyProtobufBodyContent
impl Unpin for EmptyProtobufBodyContent
impl UnwindSafe for EmptyProtobufBodyContent
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