Enum cyfs_lib::ChunkObjectRelation
source · [−]#[repr(u8)]
pub enum ChunkObjectRelation {
Unknown,
FileBody,
DirMeta,
}
Variants
Unknown
FileBody
DirMeta
Trait Implementations
sourceimpl Clone for ChunkObjectRelation
impl Clone for ChunkObjectRelation
sourcefn clone(&self) -> ChunkObjectRelation
fn clone(&self) -> ChunkObjectRelation
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 ChunkObjectRelation
impl Debug for ChunkObjectRelation
sourceimpl From<u8> for ChunkObjectRelation
impl From<u8> for ChunkObjectRelation
sourcefn from(code: u8) -> ChunkObjectRelation
fn from(code: u8) -> ChunkObjectRelation
Converts to this type from the input type.
sourceimpl IntEnum for ChunkObjectRelation
impl IntEnum for ChunkObjectRelation
sourcefn int_value(self) -> <ChunkObjectRelation as IntEnum>::Int
fn int_value(self) -> <ChunkObjectRelation as IntEnum>::Int
Returns the integer value of the enum.
sourcefn from_int(
n: <ChunkObjectRelation as IntEnum>::Int
) -> Result<ChunkObjectRelation, IntEnumError<ChunkObjectRelation>>where
ChunkObjectRelation: Sized,
fn from_int(
n: <ChunkObjectRelation as IntEnum>::Int
) -> Result<ChunkObjectRelation, IntEnumError<ChunkObjectRelation>>where
ChunkObjectRelation: Sized,
Attempts to convert an integer into the enum.
sourceimpl Into<u8> for ChunkObjectRelation
impl Into<u8> for ChunkObjectRelation
sourceimpl PartialEq<ChunkObjectRelation> for ChunkObjectRelation
impl PartialEq<ChunkObjectRelation> for ChunkObjectRelation
sourcefn eq(&self, other: &ChunkObjectRelation) -> bool
fn eq(&self, other: &ChunkObjectRelation) -> bool
impl Copy for ChunkObjectRelation
impl Eq for ChunkObjectRelation
impl StructuralEq for ChunkObjectRelation
impl StructuralPartialEq for ChunkObjectRelation
Auto Trait Implementations
impl RefUnwindSafe for ChunkObjectRelation
impl Send for ChunkObjectRelation
impl Sync for ChunkObjectRelation
impl Unpin for ChunkObjectRelation
impl UnwindSafe for ChunkObjectRelation
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