Skip to main content

CnsVolumeSourceTrait

Trait CnsVolumeSourceTrait 

Source
pub trait CnsVolumeSourceTrait: DataObjectTrait { }
Expand description

Base class for the source of volumes creation.

The source can be a volume snapshot or a volume.

This structure may be used only with operations rendered under /vsan.

§How to access

  • CnsVolumeManager::cns_create_volume(create_specs).volume_source?

Trait Implementations§

Source§

impl<From: VimObjectTrait + ?Sized + 'static> CastFrom<From> for dyn CnsVolumeSourceTrait

Source§

fn from_ref<'a>(from: &'a From) -> Option<&'a Self>

Casts a reference to a trait object. If the cast fails, std::option::Option::None is returned.
Source§

fn from_box(from: Box<From>) -> Result<Box<Self>, Box<dyn Any + 'static>>

Casts a boxed trait object to another trait object. If the cast fails, the original boxed trait object is returned in std::result::Result::Err.
Source§

impl Deserialize for Box<dyn CnsVolumeSourceTrait>

Source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

The only correct implementation of this method is: Read more

Implementors§