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