pub enum ControllerError {
VolumeNotFound(u64),
VolumeAlreadyExists(String),
VolumeInUse(u64),
InsufficientCapacity,
InvalidState {
volume_id: u64,
state: VolumeState,
},
AlreadyPublished(u64),
NotPublished(u64),
}Expand description
CSI controller error.
Variants§
VolumeNotFound(u64)
Volume not found.
VolumeAlreadyExists(String)
Volume already exists.
VolumeInUse(u64)
Volume is in use and cannot be deleted.
InsufficientCapacity
Insufficient capacity.
InvalidState
Invalid state for operation.
AlreadyPublished(u64)
Volume already published to a node.
NotPublished(u64)
Volume not published.
Trait Implementations§
Source§impl Clone for ControllerError
impl Clone for ControllerError
Source§fn clone(&self) -> ControllerError
fn clone(&self) -> ControllerError
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControllerError
impl Debug for ControllerError
Source§impl PartialEq for ControllerError
impl PartialEq for ControllerError
impl Eq for ControllerError
impl StructuralPartialEq for ControllerError
Auto Trait Implementations§
impl Freeze for ControllerError
impl RefUnwindSafe for ControllerError
impl Send for ControllerError
impl Sync for ControllerError
impl Unpin for ControllerError
impl UnwindSafe for ControllerError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)