pub enum VChipCreateParam {
TemplateName(String),
SpecificId {
template_name: String,
id: u32,
group_id: u32,
},
}Expand description
VChip create parameter
Variants§
TemplateName(String)
Create a VChip with a specific template name, vchip id and group id will automatically assigned
SpecificId
Create a VChip with a specific template name, vchip id and group id
Trait Implementations§
Source§impl From<VChipCreateParam> for dcmi_create_vdev_res_stru
impl From<VChipCreateParam> for dcmi_create_vdev_res_stru
Source§fn from(value: VChipCreateParam) -> Self
fn from(value: VChipCreateParam) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VChipCreateParam
impl RefUnwindSafe for VChipCreateParam
impl Send for VChipCreateParam
impl Sync for VChipCreateParam
impl Unpin for VChipCreateParam
impl UnsafeUnpin for VChipCreateParam
impl UnwindSafe for VChipCreateParam
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