pub enum CsiPluginType {
Node,
Controller,
Monolith,
}
Expand description
CSIPluginType is an enum string that encapsulates the valid options for a CSIPlugin block’s Type. These modes will allow the plugin to be used in different ways by the client.
This enum was generated based on the Go types of the official Nomad API client.
Variants§
Node
CSIPluginTypeNode indicates that Nomad should only use the plugin for performing Node RPCs against the provided plugin.
Controller
CSIPluginTypeController indicates that Nomad should only use the plugin for performing Controller RPCs against the provided plugin.
Monolith
CSIPluginTypeMonolith indicates that Nomad can use the provided plugin for both controller and node rpcs.
Trait Implementations§
Source§impl Clone for CsiPluginType
impl Clone for CsiPluginType
Source§fn clone(&self) -> CsiPluginType
fn clone(&self) -> CsiPluginType
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 CsiPluginType
impl Debug for CsiPluginType
Source§impl<'de> Deserialize<'de> for CsiPluginType
impl<'de> Deserialize<'de> for CsiPluginType
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 CsiPluginType
impl PartialEq for CsiPluginType
Source§impl Serialize for CsiPluginType
impl Serialize for CsiPluginType
impl StructuralPartialEq for CsiPluginType
Auto Trait Implementations§
impl Freeze for CsiPluginType
impl RefUnwindSafe for CsiPluginType
impl Send for CsiPluginType
impl Sync for CsiPluginType
impl Unpin for CsiPluginType
impl UnwindSafe for CsiPluginType
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