pub enum CreateError {
Fidl(Error),
GetVmo(Status),
GetSize(Status),
}
Expand description
The error type used by the BlobWriter
for the create() command.
Variants§
Fidl(Error)
A FIDL error occurred.
GetVmo(Status)
There was a problem getting the shared vmo for the blob.
GetSize(Status)
An error occurred while getting the size of the vmo.
Trait Implementations§
Source§impl Clone for CreateError
impl Clone for CreateError
Source§fn clone(&self) -> CreateError
fn clone(&self) -> CreateError
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 moreSource§impl Debug for CreateError
impl Debug for CreateError
Source§impl Display for CreateError
impl Display for CreateError
Source§impl Error for CreateError
impl Error for CreateError
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 CreateError
impl From<Error> for CreateError
Auto Trait Implementations§
impl Freeze for CreateError
impl !RefUnwindSafe for CreateError
impl Send for CreateError
impl Sync for CreateError
impl Unpin for CreateError
impl !UnwindSafe for CreateError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)