Skip to main content

GuestProgramSpecTrait

Trait GuestProgramSpecTrait 

Source
pub trait GuestProgramSpecTrait: DataObjectTrait {
    // Required methods
    fn get_guest_program_spec(&self) -> &GuestProgramSpec;
    fn get_guest_program_spec_mut(&mut self) -> &mut GuestProgramSpec;
}
Expand description

This describes the arguments to GuestProcessManager.StartProgramInGuest.

§How to access

  • GuestProcessManager::start_program_in_guest(spec)

Required Methods§

Source

fn get_guest_program_spec(&self) -> &GuestProgramSpec

Get a reference to the GuestProgramSpec parent struct

Source

fn get_guest_program_spec_mut(&mut self) -> &mut GuestProgramSpec

Get a mutable reference to the GuestProgramSpec parent struct

Trait Implementations§

Source§

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

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 Deref for dyn GuestProgramSpecTrait

Source§

type Target = GuestProgramSpec

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl DerefMut for dyn GuestProgramSpecTrait

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl Deserialize for Box<dyn GuestProgramSpecTrait>

Source§

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

The only correct implementation of this method is: Read more

Implementors§