pub struct CsvTextCategorizer;Trait Implementations§
Source§impl FileCategorizer for CsvTextCategorizer
impl FileCategorizer for CsvTextCategorizer
Source§fn categories(&self) -> &'static [&'static str]
fn categories(&self) -> &'static [&'static str]
Categories this categorizer can emit. Used for diagnostic
dumps; does not affect dispatch.
Source§fn categorize(&self, path: &Path, data: &[u8]) -> Option<Categorization>
fn categorize(&self, path: &Path, data: &[u8]) -> Option<Categorization>
Categorize a file by its path and full contents. Read more
Auto Trait Implementations§
impl Freeze for CsvTextCategorizer
impl RefUnwindSafe for CsvTextCategorizer
impl Send for CsvTextCategorizer
impl Sync for CsvTextCategorizer
impl Unpin for CsvTextCategorizer
impl UnsafeUnpin for CsvTextCategorizer
impl UnwindSafe for CsvTextCategorizer
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> 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