pub struct HostService(/* private fields */);Expand description
A host service that can be used to handle requests.
Created by calling Host::into_service() on a Host.
Trait Implementations§
Source§impl Clone for HostService
impl Clone for HostService
Source§fn clone(&self) -> HostService
fn clone(&self) -> HostService
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<HostService> for ArcHostService
impl From<HostService> for ArcHostService
Source§fn from(host_service: HostService) -> Self
fn from(host_service: HostService) -> Self
Converts to this type from the input type.
Source§impl From<HostService> for LeakedHostService
impl From<HostService> for LeakedHostService
Source§fn from(host_service: HostService) -> Self
fn from(host_service: HostService) -> Self
Converts to this type from the input type.
Source§impl<B> Service<Request<B>> for HostService
impl<B> Service<Request<B>> for HostService
Source§type Error = Infallible
type Error = Infallible
Errors produced by the service. Read more
Auto Trait Implementations§
impl Freeze for HostService
impl !RefUnwindSafe for HostService
impl Send for HostService
impl Sync for HostService
impl Unpin for HostService
impl !UnwindSafe for HostService
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