#[repr(u8)]pub enum ChunkObjectRelation {
Unknown = 0,
FileBody = 1,
DirMeta = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for ChunkObjectRelation
impl Clone for ChunkObjectRelation
Source§fn clone(&self) -> ChunkObjectRelation
fn clone(&self) -> ChunkObjectRelation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChunkObjectRelation
impl Debug for ChunkObjectRelation
Source§impl From<u8> for ChunkObjectRelation
impl From<u8> for ChunkObjectRelation
Source§fn from(code: u8) -> ChunkObjectRelation
fn from(code: u8) -> ChunkObjectRelation
Converts to this type from the input type.
Source§impl IntEnum for ChunkObjectRelation
impl IntEnum for ChunkObjectRelation
Source§fn int_value(self) -> <ChunkObjectRelation as IntEnum>::Int
fn int_value(self) -> <ChunkObjectRelation as IntEnum>::Int
Returns the integer value of the enum.
Source§fn 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.
Source§impl Into<u8> for ChunkObjectRelation
impl Into<u8> for ChunkObjectRelation
Source§impl PartialEq for ChunkObjectRelation
impl PartialEq for ChunkObjectRelation
impl Copy for ChunkObjectRelation
impl Eq for ChunkObjectRelation
impl StructuralPartialEq for ChunkObjectRelation
Auto Trait Implementations§
impl Freeze for ChunkObjectRelation
impl RefUnwindSafe for ChunkObjectRelation
impl Send for ChunkObjectRelation
impl Sync for ChunkObjectRelation
impl Unpin for ChunkObjectRelation
impl UnwindSafe for ChunkObjectRelation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more