Trait payload_streamer::PayloadStreamer
source · pub trait PayloadStreamer {
// Required method
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;
}
Required Methods§
sourcefn 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.