pub enum FileKind {
Manifest,
Index,
Schema,
Document,
Candidate,
}Expand description
A FileKind is the kind of a walked file, as the store structure of
sokf-format-spec defines it.
Variants§
Manifest
manifest.sokf.yaml at a knowledge root.
Index
An index.md inside a knowledge root.
Schema
A .md file in schemas/ at a knowledge root, except index.md.
Document
Any other .md file inside a knowledge root.
Candidate
A file that is none of the preceding kinds: a candidate additional file.
Trait Implementations§
impl Copy for FileKind
impl Eq for FileKind
impl StructuralPartialEq for FileKind
Auto Trait Implementations§
impl Forget for FileKind
impl Freeze for FileKind
impl Move for FileKind
impl RefUnwindSafe for FileKind
impl Send for FileKind
impl Sync for FileKind
impl Unpin for FileKind
impl UnsafeUnpin for FileKind
impl UnwindSafe for FileKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.