pub enum MemoryCreationError {
VirtualMemoryAllocationFailed(usize, String),
CouldNotCreateMemoryFromFile(Error),
}Expand description
Error occured while creating memory.
Variants§
VirtualMemoryAllocationFailed(usize, String)
Allocation of virtual memory failed error.
CouldNotCreateMemoryFromFile(Error)
Error creating memory from file.
Trait Implementations§
Source§impl Debug for MemoryCreationError
impl Debug for MemoryCreationError
Source§impl Display for MemoryCreationError
impl Display for MemoryCreationError
Source§impl Error for MemoryCreationError
impl Error for MemoryCreationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for MemoryCreationError
impl From<Error> for MemoryCreationError
Source§fn from(io_error: Error) -> MemoryCreationError
fn from(io_error: Error) -> MemoryCreationError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemoryCreationError
impl !RefUnwindSafe for MemoryCreationError
impl Send for MemoryCreationError
impl Sync for MemoryCreationError
impl Unpin for MemoryCreationError
impl !UnwindSafe for MemoryCreationError
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