pub struct Manager<S, P>where
S: Clone,{ /* private fields */ }
Expand description
This endpoint implements the Manager component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> Manager<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>::Post: Send,
impl<S, P> Manager<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>::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
Sourcepub fn host_interfaces(self, host_interfaces: Router<S>) -> Self
pub fn host_interfaces(self, host_interfaces: Router<S>) -> Self
Serves an instance of a HostInterfaceCollection.
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 network_protocol(self, network_protocol: Router<S>) -> Self
pub fn network_protocol(self, network_protocol: Router<S>) -> Self
Serves an instance of a ManagerNetworkProtocol.
Sourcepub fn manager_diagnostic_data(self, manager_diagnostic_data: Router<S>) -> Self
pub fn manager_diagnostic_data(self, manager_diagnostic_data: Router<S>) -> Self
Serves an instance of a ManagerDiagnosticData.
Sourcepub fn certificates(self, certificates: Router<S>) -> Self
pub fn certificates(self, certificates: Router<S>) -> Self
Serves an instance of a CertificateCollection.
Sourcepub fn usb_ports(self, usb_ports: Router<S>) -> Self
pub fn usb_ports(self, usb_ports: Router<S>) -> Self
Serves an instance of a PortCollection.
Sourcepub fn security_policy(self, security_policy: Router<S>) -> Self
pub fn security_policy(self, security_policy: Router<S>) -> Self
Serves an instance of a SecurityPolicy.
Sourcepub fn dedicated_network_ports(self, dedicated_network_ports: Router<S>) -> Self
pub fn dedicated_network_ports(self, dedicated_network_ports: Router<S>) -> Self
Serves an instance of a PortCollection.
Serves an instance of a PortCollection.
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 remote_account_service(self, remote_account_service: Router<S>) -> Self
pub fn remote_account_service(self, remote_account_service: Router<S>) -> Self
Serves an instance of a AccountService.
Sourcepub fn serial_interfaces(self, serial_interfaces: Router<S>) -> Self
pub fn serial_interfaces(self, serial_interfaces: Router<S>) -> Self
Serves an instance of a SerialInterfaceCollection.
Sourcepub fn force_failover<H, T>(self, handler: H) -> Self
pub fn force_failover<H, T>(self, handler: H) -> Self
Perform the ForceFailover operation on this Manager instance.
Sourcepub fn modify_redundancy_set<H, T>(self, handler: H) -> Self
pub fn modify_redundancy_set<H, T>(self, handler: H) -> Self
Perform the ModifyRedundancySet operation on this Manager 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 Manager instance.
Sourcepub fn reset_to_defaults<H, T>(self, handler: H) -> Self
pub fn reset_to_defaults<H, T>(self, handler: H) -> Self
Perform the ResetToDefaults operation on this Manager instance.