Enum wnfs_unixfs_file::unixfs::DataType
source · #[repr(i32)]pub enum DataType {
Raw = 0,
Directory = 1,
File = 2,
Metadata = 3,
Symlink = 4,
HamtShard = 5,
}
Variants§
Trait Implementations§
source§impl PartialEq for DataType
impl PartialEq for DataType
source§impl TryFrom<i32> for DataType
impl TryFrom<i32> for DataType
§type Error = TryFromPrimitiveError<DataType>
type Error = TryFromPrimitiveError<DataType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for DataType
impl TryFromPrimitive for DataType
impl Copy for DataType
impl Eq for DataType
impl StructuralEq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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