pub struct ImagingServiceHandler { /* private fields */ }Implementations§
Source§impl ImagingServiceHandler
impl ImagingServiceHandler
pub fn new(svc: Arc<dyn ImagingService>) -> Self
Trait Implementations§
Source§impl SoapHandler for ImagingServiceHandler
impl SoapHandler for ImagingServiceHandler
fn handle<'life0, 'async_trait>(
&'life0 self,
body: Bytes,
) -> Pin<Box<dyn Future<Output = Result<Bytes, SoapFault>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn handle_with_headers<'life0, 'life1, 'async_trait>(
&'life0 self,
body: Bytes,
_headers: &'life1 [Bytes],
) -> Pin<Box<dyn Future<Output = Result<Bytes, SoapFault>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn handle_with_headers<'life0, 'life1, 'async_trait>(
&'life0 self,
body: Bytes,
_headers: &'life1 [Bytes],
) -> Pin<Box<dyn Future<Output = Result<Bytes, SoapFault>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Handle a request with access to the SOAP header element fragments (each is the
raw bytes of one direct child of
<Header>). Defaults to ignoring headers and
calling handle. Handlers needing WS-Addressing/WS-Security header data override this.Auto Trait Implementations§
impl !RefUnwindSafe for ImagingServiceHandler
impl !UnwindSafe for ImagingServiceHandler
impl Freeze for ImagingServiceHandler
impl Send for ImagingServiceHandler
impl Sync for ImagingServiceHandler
impl Unpin for ImagingServiceHandler
impl UnsafeUnpin for ImagingServiceHandler
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