pub struct LogService<S, P>where
S: Clone,{ /* private fields */ }
Expand description
This endpoint implements the LogService component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> LogService<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> LogService<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 entries(self, entries: Router<S>) -> Self
pub fn entries(self, entries: Router<S>) -> Self
Serves an instance of a LogEntryCollection.
Sourcepub fn clear_log<H, T>(self, handler: H) -> Self
pub fn clear_log<H, T>(self, handler: H) -> Self
Perform the ClearLog operation on this LogService instance.
Sourcepub fn collect_diagnostic_data<H, T>(self, handler: H) -> Self
pub fn collect_diagnostic_data<H, T>(self, handler: H) -> Self
Perform the CollectDiagnosticData operation on this LogService instance.
pub fn into_router(self) -> Router<S>
Trait Implementations§
Source§impl<S> Default for LogService<S, DefaultPrivileges>where
S: Clone,
impl<S> Default for LogService<S, DefaultPrivileges>where
S: Clone,
Auto Trait Implementations§
impl<S, P> Freeze for LogService<S, P>
impl<S, P> !RefUnwindSafe for LogService<S, P>
impl<S, P> Send for LogService<S, P>
impl<S, P> !Sync for LogService<S, P>
impl<S, P> Unpin for LogService<S, P>
impl<S, P> !UnwindSafe for LogService<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