pub struct ComputerSystem<S, P>where
S: Clone,{ /* private fields */ }
Expand description
This endpoint implements the ComputerSystem component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> ComputerSystem<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Put: Send,
<P as OperationPrivilegeMapping>::Patch: Send,
<P as OperationPrivilegeMapping>::Delete: Send,
<P as OperationPrivilegeMapping>::Post: Send,
impl<S, P> ComputerSystem<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Put: Send,
<P as OperationPrivilegeMapping>::Patch: Send,
<P as OperationPrivilegeMapping>::Delete: Send,
<P as OperationPrivilegeMapping>::Post: Send,
pub fn get<H, T>(self, handler: H) -> Self
pub fn put<H, T>(self, handler: H) -> Self
pub fn patch<H, T>(self, handler: H) -> Self
pub fn delete<H, T>(self, handler: H) -> Self
Sourcepub fn log_services(self, log_services: Router<S>) -> Self
pub fn log_services(self, log_services: Router<S>) -> Self
Serves an instance of a LogServiceCollection.
Sourcepub fn boot_options(self, boot_options: Router<S>) -> Self
pub fn boot_options(self, boot_options: Router<S>) -> Self
Serves an instance of a BootOptionCollection.
Sourcepub fn pcie_devices(self, pcie_devices: Router<S>) -> Self
pub fn pcie_devices(self, pcie_devices: Router<S>) -> Self
Serves an instance of a PCIeDeviceCollection.
Sourcepub fn processors(self, processors: Router<S>) -> Self
pub fn processors(self, processors: Router<S>) -> Self
Serves an instance of a ProcessorCollection.
Sourcepub fn certificates(self, certificates: Router<S>) -> Self
pub fn certificates(self, certificates: Router<S>) -> Self
Serves an instance of a CertificateCollection.
Sourcepub fn memory_domains(self, memory_domains: Router<S>) -> Self
pub fn memory_domains(self, memory_domains: Router<S>) -> Self
Serves an instance of a MemoryDomainCollection.
Sourcepub fn secure_boot(self, secure_boot: Router<S>) -> Self
pub fn secure_boot(self, secure_boot: Router<S>) -> Self
Serves an instance of a SecureBoot.
Sourcepub fn usb_controllers(self, usb_controllers: Router<S>) -> Self
pub fn usb_controllers(self, usb_controllers: Router<S>) -> Self
Serves an instance of a USBControllerCollection.
Sourcepub fn storage(self, storage: Router<S>) -> Self
pub fn storage(self, storage: Router<S>) -> Self
Serves an instance of a StorageCollection.
Sourcepub fn simple_storage(self, simple_storage: Router<S>) -> Self
pub fn simple_storage(self, simple_storage: Router<S>) -> Self
Serves an instance of a SimpleStorageCollection.
Sourcepub fn virtual_media(self, virtual_media: Router<S>) -> Self
pub fn virtual_media(self, virtual_media: Router<S>) -> Self
Serves an instance of a VirtualMediaCollection.
Sourcepub fn ethernet_interfaces(self, ethernet_interfaces: Router<S>) -> Self
pub fn ethernet_interfaces(self, ethernet_interfaces: Router<S>) -> Self
Serves an instance of a EthernetInterfaceCollection.
Sourcepub fn graphics_controllers(self, graphics_controllers: Router<S>) -> Self
pub fn graphics_controllers(self, graphics_controllers: Router<S>) -> Self
Serves an instance of a GraphicsControllerCollection.
Sourcepub fn fabric_adapters(self, fabric_adapters: Router<S>) -> Self
pub fn fabric_adapters(self, fabric_adapters: Router<S>) -> Self
Serves an instance of a FabricAdapterCollection.
Sourcepub fn memory(self, memory: Router<S>) -> Self
pub fn memory(self, memory: Router<S>) -> Self
Serves an instance of a MemoryCollection.
Sourcepub fn network_interfaces(self, network_interfaces: Router<S>) -> Self
pub fn network_interfaces(self, network_interfaces: Router<S>) -> Self
Serves an instance of a NetworkInterfaceCollection.
Sourcepub fn add_resource_block<H, T>(self, handler: H) -> Self
pub fn add_resource_block<H, T>(self, handler: H) -> Self
Perform the AddResourceBlock operation on this ComputerSystem instance.
Sourcepub fn remove_resource_block<H, T>(self, handler: H) -> Self
pub fn remove_resource_block<H, T>(self, handler: H) -> Self
Perform the RemoveResourceBlock operation on this ComputerSystem instance.
Sourcepub fn reset<H, T>(self, handler: H) -> Self
pub fn reset<H, T>(self, handler: H) -> Self
Perform the Reset operation on this ComputerSystem instance.
Sourcepub fn set_default_boot_order<H, T>(self, handler: H) -> Self
pub fn set_default_boot_order<H, T>(self, handler: H) -> Self
Perform the SetDefaultBootOrder operation on this ComputerSystem instance.