Struct payload_streamer::ReaderPayloadStreamer
source · pub struct ReaderPayloadStreamer { /* private fields */ }
Expand description
Streams the contents of a reader over the PayloadStream protocol.
Implementations§
Trait Implementations§
source§impl PayloadStreamer for ReaderPayloadStreamer
impl PayloadStreamer for ReaderPayloadStreamer
source§fn service_payload_stream_requests<'life0, 'async_trait>(
self: Box<Self>,
stream: PayloadStreamRequestStream,
status_callback: Option<&'life0 dyn StatusCallback>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn service_payload_stream_requests<'life0, 'async_trait>(
self: Box<Self>,
stream: PayloadStreamRequestStream,
status_callback: Option<&'life0 dyn StatusCallback>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle the server side of the PayloadStream service.
Auto Trait Implementations§
impl !Freeze for ReaderPayloadStreamer
impl !RefUnwindSafe for ReaderPayloadStreamer
impl Send for ReaderPayloadStreamer
impl Sync for ReaderPayloadStreamer
impl Unpin for ReaderPayloadStreamer
impl !UnwindSafe for ReaderPayloadStreamer
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