pub struct ScopeEndpoint { /* private fields */ }Expand description
The scope endpoint.
Created from ScopeEndpointBuilder.  See super::scope() for more
information.
Trait Implementations§
Source§impl Debug for ScopeEndpoint
 
impl Debug for ScopeEndpoint
Source§impl Endpoint for ScopeEndpoint
 
impl Endpoint for ScopeEndpoint
Source§fn apply<'life0, 'async_trait>(
    self: Pin<&'life0 Self>,
    request: Request,
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
 
fn apply<'life0, 'async_trait>(
    self: Pin<&'life0 Self>,
    request: Request,
) -> Pin<Box<dyn Future<Output = Result<Response, Error>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
Transforms the request into the response.  However, a request may fail,
and such a failure can be handled by down the stack.
Auto Trait Implementations§
impl Freeze for ScopeEndpoint
impl !RefUnwindSafe for ScopeEndpoint
impl Send for ScopeEndpoint
impl Sync for ScopeEndpoint
impl Unpin for ScopeEndpoint
impl !UnwindSafe for ScopeEndpoint
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