pub struct ChuchiService { /* private fields */ }Implementations§
Source§impl ChuchiService
impl ChuchiService
Sourcepub fn new(pit: ChuchiShared, address: SocketAddr) -> Self
pub fn new(pit: ChuchiShared, address: SocketAddr) -> Self
Creates a new ChuchiService which can be passed to a hyper server.
Trait Implementations§
Source§impl Service<Request<Incoming>> for ChuchiService
impl Service<Request<Incoming>> for ChuchiService
Source§type Error = Infallible
type Error = Infallible
Errors produced by the service. Read more
Source§type Future = PinnedFuture<'static, Result<<ChuchiService as Service<Request<Incoming>>>::Response, <ChuchiService as Service<Request<Incoming>>>::Error>>
type Future = PinnedFuture<'static, Result<<ChuchiService as Service<Request<Incoming>>>::Response, <ChuchiService as Service<Request<Incoming>>>::Error>>
The future response value.
Auto Trait Implementations§
impl Freeze for ChuchiService
impl !RefUnwindSafe for ChuchiService
impl Send for ChuchiService
impl Sync for ChuchiService
impl Unpin for ChuchiService
impl UnsafeUnpin for ChuchiService
impl !UnwindSafe for ChuchiService
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