pub enum RegisterMemoryFileError {
TooManyFilesRegistered,
FileTooLarge,
NameAlreadyRegistered(FileId),
}Expand description
An error that can occur when registering an in-memory file
Variants§
TooManyFilesRegistered
Registering another file would exceed the maximum allowed number of registered files
FileTooLarge
The files being registered exceeds the maximum allowed file size
NameAlreadyRegistered(FileId)
An in-memory file with the same name has already been registered
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegisterMemoryFileError
impl RefUnwindSafe for RegisterMemoryFileError
impl Send for RegisterMemoryFileError
impl Sync for RegisterMemoryFileError
impl Unpin for RegisterMemoryFileError
impl UnwindSafe for RegisterMemoryFileError
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