Enum embedded_sdmmc::FilenameError
source · pub enum FilenameError {
InvalidCharacter,
FilenameEmpty,
NameTooLong,
MisplacedPeriod,
Utf8Error,
}
Expand description
Various filename related errors that can occur.
Variants§
InvalidCharacter
Tried to create a file with an invalid character.
FilenameEmpty
Tried to create a file with no file name.
NameTooLong
Given name was too long (we are limited to 8.3).
MisplacedPeriod
Can’t start a file with a period, or after 8 characters.
Utf8Error
Can’t extract utf8 from file name
Trait Implementations§
source§impl Clone for FilenameError
impl Clone for FilenameError
source§fn clone(&self) -> FilenameError
fn clone(&self) -> FilenameError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for FilenameError
impl Send for FilenameError
impl Sync for FilenameError
impl Unpin for FilenameError
impl UnwindSafe for FilenameError
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