Enum cyfs_base::DescContentType
source · [−]pub enum DescContentType {
Typed,
Buffer,
}
Expand description
DescContent
Desc的用户自定义部分类型,默认是Typed 如果是Buffer类型,则desc_content部分的size+buffer,都由desc_content自己encode/decode
Variants
Typed
Buffer
Trait Implementations
sourceimpl PartialEq<DescContentType> for DescContentType
impl PartialEq<DescContentType> for DescContentType
sourcefn eq(&self, other: &DescContentType) -> bool
fn eq(&self, other: &DescContentType) -> bool
impl Eq for DescContentType
impl StructuralEq for DescContentType
impl StructuralPartialEq for DescContentType
Auto Trait Implementations
impl RefUnwindSafe for DescContentType
impl Send for DescContentType
impl Sync for DescContentType
impl Unpin for DescContentType
impl UnwindSafe for DescContentType
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