pub struct S3ApiServer { /* private fields */ }Implementations§
Source§impl S3ApiServer
impl S3ApiServer
Trait Implementations§
Source§impl ApiHandler for S3ApiServer
impl ApiHandler for S3ApiServer
const API_NAME: &'static str = "s3"
const API_NAME_DISPLAY: &'static str = "S3"
type Endpoint = S3ApiEndpoint
type Error = Error
fn parse_endpoint( &self, req: &Request<IncomingBody>, ) -> Result<S3ApiEndpoint, Error>
async fn handle( &self, req: Request<IncomingBody>, endpoint: S3ApiEndpoint, ) -> Result<Response<ResBody>, Error>
Source§fn key_id_from_request(&self, req: &Request<IncomingBody>) -> Option<String>
fn key_id_from_request(&self, req: &Request<IncomingBody>) -> Option<String>
Returns the key id used to authenticate this request. The ID returned must be safe to
log.
Auto Trait Implementations§
impl Freeze for S3ApiServer
impl !RefUnwindSafe for S3ApiServer
impl Send for S3ApiServer
impl Sync for S3ApiServer
impl Unpin for S3ApiServer
impl !UnwindSafe for S3ApiServer
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more