pub struct VolumeError {
pub time: Option<Time>,
pub message: Option<String>,
pub error_code: Option<i32>,
}Expand description
VolumeError captures an error encountered during a volume operation.
Fields§
§time: Option<Time>time represents the time the error was encountered. +optional
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. +optional
error_code: Option<i32>errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.
This is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.
+featureGate=MutableCSINodeAllocatableCount +optional
Implementations§
Source§impl VolumeError
impl VolumeError
Trait Implementations§
Source§impl Clone for VolumeError
impl Clone for VolumeError
Source§fn clone(&self) -> VolumeError
fn clone(&self) -> VolumeError
Returns a duplicate 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 Default for VolumeError
impl Default for VolumeError
Source§impl Hash for VolumeError
impl Hash for VolumeError
Source§impl Message for VolumeError
impl Message for VolumeError
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for VolumeError
impl PartialEq for VolumeError
impl Eq 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