#[non_exhaustive]pub enum FileContentTypeToken {
RawFormula = 1,
SingleFormula = 2,
}Available on crate feature
v0 only.Expand description
File content type identifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FileContentTypeToken
impl Clone for FileContentTypeToken
Source§fn clone(&self) -> FileContentTypeToken
fn clone(&self) -> FileContentTypeToken
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileContentTypeToken
impl Debug for FileContentTypeToken
Source§impl From<FileContentTypeToken> for VariableLengthEnum
impl From<FileContentTypeToken> for VariableLengthEnum
Source§fn from(value: FileContentTypeToken) -> Self
fn from(value: FileContentTypeToken) -> Self
Converts to this type from the input type.
Source§impl Hash for FileContentTypeToken
impl Hash for FileContentTypeToken
Source§impl Into<usize> for FileContentTypeToken
impl Into<usize> for FileContentTypeToken
Source§impl PartialEq for FileContentTypeToken
impl PartialEq for FileContentTypeToken
Source§impl TryFrom<VariableLengthEnum> for FileContentTypeToken
impl TryFrom<VariableLengthEnum> for FileContentTypeToken
Source§type Error = FileContentTypeTokenError
type Error = FileContentTypeTokenError
The type returned in the event of a conversion error.
Source§impl TryFrom<usize> for FileContentTypeToken
impl TryFrom<usize> for FileContentTypeToken
Source§impl<W: ?Sized + Write> WriteTo<W> for FileContentTypeToken
impl<W: ?Sized + Write> WriteTo<W> for FileContentTypeToken
Source§type WriteError = FileContentTypeTokenError
type WriteError = FileContentTypeTokenError
The error type that can be returned when writing fails.
impl Copy for FileContentTypeToken
impl Eq for FileContentTypeToken
impl StructuralPartialEq for FileContentTypeToken
Auto Trait Implementations§
impl Freeze for FileContentTypeToken
impl RefUnwindSafe for FileContentTypeToken
impl Send for FileContentTypeToken
impl Sync for FileContentTypeToken
impl Unpin for FileContentTypeToken
impl UnwindSafe for FileContentTypeToken
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