pub struct CloudFrontHttpService<H: CloudFrontHandler> { /* private fields */ }Expand description
CloudFront HTTP service.
Implementations§
Source§impl<H: CloudFrontHandler> CloudFrontHttpService<H>
impl<H: CloudFrontHandler> CloudFrontHttpService<H>
Sourcepub fn new(handler: Arc<H>, config: CloudFrontHttpConfig) -> Self
pub fn new(handler: Arc<H>, config: CloudFrontHttpConfig) -> Self
Create a new service.
Trait Implementations§
Source§impl<H: CloudFrontHandler> Clone for CloudFrontHttpService<H>
impl<H: CloudFrontHandler> Clone for CloudFrontHttpService<H>
Source§impl<H: Debug + CloudFrontHandler> Debug for CloudFrontHttpService<H>
impl<H: Debug + CloudFrontHandler> Debug for CloudFrontHttpService<H>
Source§impl<H: CloudFrontHandler> Service<Request<Incoming>> for CloudFrontHttpService<H>
impl<H: CloudFrontHandler> Service<Request<Incoming>> for CloudFrontHttpService<H>
Auto Trait Implementations§
impl<H> Freeze for CloudFrontHttpService<H>
impl<H> !RefUnwindSafe for CloudFrontHttpService<H>
impl<H> Send for CloudFrontHttpService<H>
impl<H> Sync for CloudFrontHttpService<H>
impl<H> Unpin for CloudFrontHttpService<H>
impl<H> UnsafeUnpin for CloudFrontHttpService<H>
impl<H> !UnwindSafe for CloudFrontHttpService<H>
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