pub enum Detection {
Config,
Marker,
OkfVersion,
}Expand description
How a root was detected.
Variants§
Config
Listed in .ct/okf.jsonc.
Marker
Has a .okf marker file.
OkfVersion
Has a bundle-root index.md declaring okf_version.
Implementations§
Trait Implementations§
impl Copy for Detection
impl Eq for Detection
Source§impl Ord for Detection
impl Ord for Detection
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Detection
impl PartialOrd for Detection
impl StructuralPartialEq for Detection
Auto Trait Implementations§
impl Freeze for Detection
impl RefUnwindSafe for Detection
impl Send for Detection
impl Sync for Detection
impl Unpin for Detection
impl UnsafeUnpin for Detection
impl UnwindSafe for Detection
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