pub enum Error {
PermissionDenied,
Busy,
Timeout,
Storage,
Driver,
Unsupported,
Power,
}Expand description
Failure of a lifecycle request or pipeline stage.
Variants§
PermissionDenied
The caller may not request lifecycle actions.
Busy
Another request already won, or the pipeline already ran.
Timeout
Tasks did not stop before the deadline. They keep their resources.
Storage
Storage could not be frozen, committed or unmounted.
Driver
A driver could not be stopped.
Unsupported
The power device does not perform the requested action.
Power
The power device failed to perform the action.
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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