pub struct SecureBootDatabase<S, P>where
S: Clone,{ /* private fields */ }Expand description
This endpoint implements the SecureBootDatabase component.
It can be mounted on the following components:
Implementations§
Source§impl<S, P> SecureBootDatabase<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Post: Send,
impl<S, P> SecureBootDatabase<S, P>where
S: AsRef<dyn AuthenticateRequest> + Clone + Send + Sync + 'static,
P: OperationPrivilegeMapping + 'static,
<P as OperationPrivilegeMapping>::Get: Send,
<P as OperationPrivilegeMapping>::Post: Send,
pub fn get<H, T>(self, handler: H) -> Self
Sourcepub fn certificates(self, certificates: Router<S>) -> Self
pub fn certificates(self, certificates: Router<S>) -> Self
Serves an instance of a CertificateCollection.
Sourcepub fn signatures(self, signatures: Router<S>) -> Self
pub fn signatures(self, signatures: Router<S>) -> Self
Serves an instance of a SignatureCollection.
Sourcepub fn reset_keys<H, T>(self, handler: H) -> Self
pub fn reset_keys<H, T>(self, handler: H) -> Self
Perform the ResetKeys operation on this SecureBootDatabase instance.
pub fn into_router(self) -> Router<S>
Trait Implementations§
Source§impl<S> Default for SecureBootDatabase<S, DefaultPrivileges>where
S: Clone,
impl<S> Default for SecureBootDatabase<S, DefaultPrivileges>where
S: Clone,
Auto Trait Implementations§
impl<S, P> Freeze for SecureBootDatabase<S, P>
impl<S, P> !RefUnwindSafe for SecureBootDatabase<S, P>
impl<S, P> Send for SecureBootDatabase<S, P>
impl<S, P> !Sync for SecureBootDatabase<S, P>
impl<S, P> Unpin for SecureBootDatabase<S, P>
impl<S, P> !UnwindSafe for SecureBootDatabase<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