Struct cyfs_base::SubDescNone
source · [−]pub struct SubDescNone();Expand description
5 种 SubDescType
- SubDescNone 表示不实现某个ObjectDesc
- Option
用于OwnerObjectDesc或者AuthorObjectDesc - Option 用于AreaObjectDesc
- PublicKey 用于SingleKeyObjectDesc
- MNPublicKey 用于MNKeyObjectDesc SubDescNone === 表示不实现某个 XXXObjectDesc
Trait Implementations
sourceimpl AreaObj for SubDescNone
impl AreaObj for SubDescNone
type Inner = SubDescNone
fn from_type_less(value: Option<Area>) -> BuckyResult<Self>
fn area_ref(&self) -> &Option<Area>
fn from_inner(inner: Self::Inner) -> Self
sourceimpl AreaObjectDesc for SubDescNone
impl AreaObjectDesc for SubDescNone
sourceimpl AuthorObj for SubDescNone
impl AuthorObj for SubDescNone
type Inner = SubDescNone
fn from_type_less(value: Option<ObjectId>) -> BuckyResult<Self>
fn from_inner(inner: Self::Inner) -> Self
sourceimpl AuthorObjectDesc for SubDescNone
impl AuthorObjectDesc for SubDescNone
sourceimpl Clone for SubDescNone
impl Clone for SubDescNone
sourcefn clone(&self) -> SubDescNone
fn clone(&self) -> SubDescNone
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 Debug for SubDescNone
impl Debug for SubDescNone
sourceimpl Default for SubDescNone
impl Default for SubDescNone
sourceimpl OwnerObj for SubDescNone
impl OwnerObj for SubDescNone
type Inner = SubDescNone
fn from_type_less(value: Option<ObjectId>) -> BuckyResult<Self>
fn from_inner(inner: Self::Inner) -> Self
sourceimpl OwnerObjectDesc for SubDescNone
impl OwnerObjectDesc for SubDescNone
sourceimpl PublicKeyObj for SubDescNone
impl PublicKeyObj for SubDescNone
fn from_type_less(
single: Option<PublicKey>,
mn: Option<MNPublicKey>
) -> BuckyResult<Self>
fn has_single_key(&self) -> bool
fn has_mn_key(&self) -> bool
sourceimpl PublicKeyObjectDesc for SubDescNone
impl PublicKeyObjectDesc for SubDescNone
fn public_key_ref(&self) -> Option<PublicKeyRef<'_>>
sourceimpl SubDescType for SubDescNone
impl SubDescType for SubDescNone
fn is_none(&self) -> bool
fn inner_raw_measure(
&self,
_purpose: &Option<RawEncodePurpose>
) -> Result<usize, BuckyError>
fn inner_raw_encode<'a>(
&self,
_buf: &'a mut [u8],
_purpose: &Option<RawEncodePurpose>
) -> Result<&'a mut [u8], BuckyError>
fn inner_raw_decode<'de>(
buf: &'de [u8]
) -> Result<(Self, &'de [u8]), BuckyError>
fn is_some(&self) -> bool
Auto Trait Implementations
impl RefUnwindSafe for SubDescNone
impl Send for SubDescNone
impl Sync for SubDescNone
impl Unpin for SubDescNone
impl UnwindSafe for SubDescNone
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