pub enum ClusterState {
Free,
Reserved,
Bad,
Used(u32),
EndOfChain,
}Expand description
State of a single cluster in the FAT.
Variants§
Free
Free cluster (value 0)
Reserved
Reserved cluster (clusters 0 and 1, or reserved values)
Bad
Bad cluster
Used(u32)
Used cluster, contains next cluster number
EndOfChain
End of cluster chain
Trait Implementations§
Source§impl Clone for ClusterState
impl Clone for ClusterState
Source§fn clone(&self) -> ClusterState
fn clone(&self) -> ClusterState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClusterState
Source§impl Debug for ClusterState
impl Debug for ClusterState
impl Eq for ClusterState
Source§impl PartialEq for ClusterState
impl PartialEq for ClusterState
impl StructuralPartialEq for ClusterState
Auto Trait Implementations§
impl Freeze for ClusterState
impl RefUnwindSafe for ClusterState
impl Send for ClusterState
impl Sync for ClusterState
impl Unpin for ClusterState
impl UnsafeUnpin for ClusterState
impl UnwindSafe for ClusterState
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