pub struct ServiceAnswers<'a> { /* private fields */ }Expand description
A wrapper around a Service that also provides the Host of the service
and thus allows the HostAnswers trait contract to be fullfilled for a Service instance.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ServiceAnswers<'a>
impl<'a> RefUnwindSafe for ServiceAnswers<'a>
impl<'a> Send for ServiceAnswers<'a>
impl<'a> Sync for ServiceAnswers<'a>
impl<'a> Unpin for ServiceAnswers<'a>
impl<'a> UnsafeUnpin for ServiceAnswers<'a>
impl<'a> UnwindSafe for ServiceAnswers<'a>
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<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
Source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
Source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.