pub struct VolumeError {
pub message: Option<String>,
pub time: Option<Time>,
}
Expand description
VolumeError captures an error encountered during a volume operation.
Fields§
§message: Option<String>
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
time: Option<Time>
time represents the time the error was encountered.
Trait Implementations§
Source§impl Clone for VolumeError
impl Clone for VolumeError
Source§fn clone(&self) -> VolumeError
fn clone(&self) -> VolumeError
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 VolumeError
impl Debug for VolumeError
Source§impl DeepMerge for VolumeError
impl DeepMerge for VolumeError
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for VolumeError
impl Default for VolumeError
Source§fn default() -> VolumeError
fn default() -> VolumeError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeError
impl<'de> Deserialize<'de> for VolumeError
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VolumeError
impl PartialEq for VolumeError
Source§impl Serialize for VolumeError
impl Serialize for VolumeError
impl StructuralPartialEq for VolumeError
Auto Trait Implementations§
impl Freeze for VolumeError
impl RefUnwindSafe for VolumeError
impl Send for VolumeError
impl Sync for VolumeError
impl Unpin for VolumeError
impl UnwindSafe for VolumeError
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