pub enum CsiVolumeAttachmentMode {
Unknown,
BlockDevice,
Filesystem,
}
Expand description
CSIVolumeAttachmentMode chooses the type of storage api that will be used to interact with the device. (Duplicated in nomad/structs/csi.go)
This enum was generated based on the Go types of the official Nomad API client.
Variants§
Trait Implementations§
Source§impl Clone for CsiVolumeAttachmentMode
impl Clone for CsiVolumeAttachmentMode
Source§fn clone(&self) -> CsiVolumeAttachmentMode
fn clone(&self) -> CsiVolumeAttachmentMode
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 CsiVolumeAttachmentMode
impl Debug for CsiVolumeAttachmentMode
Source§impl<'de> Deserialize<'de> for CsiVolumeAttachmentMode
impl<'de> Deserialize<'de> for CsiVolumeAttachmentMode
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 CsiVolumeAttachmentMode
impl PartialEq for CsiVolumeAttachmentMode
Source§impl Serialize for CsiVolumeAttachmentMode
impl Serialize for CsiVolumeAttachmentMode
impl StructuralPartialEq for CsiVolumeAttachmentMode
Auto Trait Implementations§
impl Freeze for CsiVolumeAttachmentMode
impl RefUnwindSafe for CsiVolumeAttachmentMode
impl Send for CsiVolumeAttachmentMode
impl Sync for CsiVolumeAttachmentMode
impl Unpin for CsiVolumeAttachmentMode
impl UnwindSafe for CsiVolumeAttachmentMode
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