Struct cyfs_base::DeviceDescContent
source · [−]pub struct DeviceDescContent { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Clone for DeviceDescContent
impl Clone for DeviceDescContent
sourcefn clone(&self) -> DeviceDescContent
fn clone(&self) -> DeviceDescContent
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 Debug for DeviceDescContent
impl Debug for DeviceDescContent
sourceimpl DescContent for DeviceDescContent
impl DescContent for DeviceDescContent
fn obj_type() -> u16
type OwnerType = Option<ObjectId>
type AreaType = Option<Area>
type AuthorType = SubDescNone
type PublicKeyType = PublicKey
fn obj_type_code() -> ObjectTypeCode
fn desc_content_type() -> DescContentType
fn is_standard_object() -> bool
fn is_core_object() -> bool
fn is_decapp_object() -> bool
fn debug_info() -> String
fn version(&self) -> u8
fn format(&self) -> u8
sourceimpl ObjectFormat for DeviceDescContent
impl ObjectFormat for DeviceDescContent
fn format_json(&self) -> Value
sourceimpl PartialEq<DeviceDescContent> for DeviceDescContent
impl PartialEq<DeviceDescContent> for DeviceDescContent
sourcefn eq(&self, other: &DeviceDescContent) -> bool
fn eq(&self, other: &DeviceDescContent) -> bool
sourceimpl<'de> RawDecode<'de> for DeviceDescContent
impl<'de> RawDecode<'de> for DeviceDescContent
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 DeviceDescContent
impl RawEncode for DeviceDescContent
fn raw_measure(
&self,
purpose: &Option<RawEncodePurpose>
) -> Result<usize, BuckyError>
fn raw_encode<'a>(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> Result<&'a mut [u8], BuckyError>
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 Eq for DeviceDescContent
impl StructuralEq for DeviceDescContent
impl StructuralPartialEq for DeviceDescContent
Auto Trait Implementations
impl RefUnwindSafe for DeviceDescContent
impl Send for DeviceDescContent
impl Sync for DeviceDescContent
impl Unpin for DeviceDescContent
impl UnwindSafe for DeviceDescContent
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