pub struct NetworkDeviceFunctionMetrics<S, P>where
S: Clone,{ /* private fields */ }
Expand description
This endpoint implements the NetworkDeviceFunctionMetrics component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> NetworkDeviceFunctionMetrics<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
impl<S, P> NetworkDeviceFunctionMetrics<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
pub fn get<H, T>(self, handler: H) -> NetworkDeviceFunctionMetrics<S, P>where
H: Handler<T, S>,
T: 'static,
pub fn into_router(self) -> Router<S>
Trait Implementations§
Source§impl<S> Default for NetworkDeviceFunctionMetrics<S, DefaultPrivileges>where
S: Clone,
impl<S> Default for NetworkDeviceFunctionMetrics<S, DefaultPrivileges>where
S: Clone,
Source§fn default() -> NetworkDeviceFunctionMetrics<S, DefaultPrivileges>
fn default() -> NetworkDeviceFunctionMetrics<S, DefaultPrivileges>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<S, P> Freeze for NetworkDeviceFunctionMetrics<S, P>
impl<S, P> !RefUnwindSafe for NetworkDeviceFunctionMetrics<S, P>
impl<S, P> Send for NetworkDeviceFunctionMetrics<S, P>
impl<S, P> !Sync for NetworkDeviceFunctionMetrics<S, P>
impl<S, P> Unpin for NetworkDeviceFunctionMetrics<S, P>
impl<S, P> !UnwindSafe for NetworkDeviceFunctionMetrics<S, P>
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