Struct cyfs_base::EmptyBodyContent
source · pub struct EmptyBodyContent;
Trait Implementations
sourceimpl BodyContent for EmptyBodyContent
impl BodyContent for EmptyBodyContent
sourceimpl Clone for EmptyBodyContent
impl Clone for EmptyBodyContent
sourcefn clone(&self) -> EmptyBodyContent
fn clone(&self) -> EmptyBodyContent
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 moresourceimpl Default for EmptyBodyContent
impl Default for EmptyBodyContent
sourcefn default() -> EmptyBodyContent
fn default() -> EmptyBodyContent
Returns the “default value” for a type. Read more
sourceimpl<'__de__> RawDecode<'__de__> for EmptyBodyContent
impl<'__de__> RawDecode<'__de__> for EmptyBodyContent
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 EmptyBodyContent
impl RawEncode for EmptyBodyContent
fn raw_encode<'__de__>(
&self,
__buf__: &'__de__ mut [u8],
__purpose__: &Option<RawEncodePurpose>
) -> BuckyResult<&'__de__ mut [u8]>
fn raw_measure(
&self,
__purpose__: &Option<RawEncodePurpose>
) -> BuckyResult<usize>
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 Serialize for EmptyBodyContent
impl Serialize for EmptyBodyContent
impl ObjectFormatAutoWithSerde for EmptyBodyContent
Auto Trait Implementations
impl RefUnwindSafe for EmptyBodyContent
impl Send for EmptyBodyContent
impl Sync for EmptyBodyContent
impl Unpin for EmptyBodyContent
impl UnwindSafe for EmptyBodyContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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