Struct cyfs_core::AppCmdDesc
source · [−]Fields
app_id: DecAppId
cmd_code: CmdCode
Trait Implementations
sourceimpl Clone for AppCmdDesc
impl Clone for AppCmdDesc
sourcefn clone(&self) -> AppCmdDesc
fn clone(&self) -> AppCmdDesc
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl DescContent for AppCmdDesc
impl DescContent for AppCmdDesc
fn obj_type() -> u16
fn format(&self) -> u8
type OwnerType = Option<ObjectId>
type AreaType = SubDescNone
type AuthorType = SubDescNone
type PublicKeyType = SubDescNone
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
sourceimpl ProtobufTransform<&AppCmdDesc> for AppCmdDesc
impl ProtobufTransform<&AppCmdDesc> for AppCmdDesc
fn transform(_value_: &AppCmdDesc) -> BuckyResult<Self>
sourceimpl ProtobufTransform<&AppCmdDesc> for Option<AppCmdDesc>
impl ProtobufTransform<&AppCmdDesc> for Option<AppCmdDesc>
fn transform(_value_: &AppCmdDesc) -> BuckyResult<Self>
sourceimpl ProtobufTransform<AppCmdDesc> for AppCmdDesc
impl ProtobufTransform<AppCmdDesc> for AppCmdDesc
fn transform(_value_: AppCmdDesc) -> BuckyResult<Self>
sourceimpl ProtobufTransform<Option<AppCmdDesc>> for AppCmdDesc
impl ProtobufTransform<Option<AppCmdDesc>> for AppCmdDesc
fn transform(_value_: Option<AppCmdDesc>) -> BuckyResult<Self>
sourceimpl<'__de__> RawDecode<'__de__> for AppCmdDesc
impl<'__de__> RawDecode<'__de__> for AppCmdDesc
fn raw_decode(__buf__: &'__de__ [u8]) -> BuckyResult<(Self, &'__de__ [u8])>
fn raw_decode_with_option(
buf: &'de [u8],
_opt: &RawDecodeOption
) -> Result<(Self, &'de [u8]), BuckyError>
sourceimpl RawEncode for AppCmdDesc
impl RawEncode for AppCmdDesc
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(
&self,
buf: &'a mut [u8],
purpose: &Option<RawEncodePurpose>
) -> Result<&'a [u8], BuckyError>
fn raw_encode_to_buffer(&self) -> Result<Vec<u8, Global>, BuckyError>
fn raw_hash_value(&self) -> Result<HashValue, BuckyError>
fn hash_buf(&self, encoded_buf: &[u8]) -> HashValue
fn raw_hash_encode(&self) -> Result<Vec<u8, Global>, BuckyError>
sourceimpl Serialize for AppCmdDesc
impl Serialize for AppCmdDesc
impl ObjectFormatAutoWithSerde for AppCmdDesc
Auto Trait Implementations
impl RefUnwindSafe for AppCmdDesc
impl Send for AppCmdDesc
impl Sync for AppCmdDesc
impl Unpin for AppCmdDesc
impl UnwindSafe for AppCmdDesc
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