Struct rustream::routes::video::streaming_endpoint
source · pub struct streaming_endpoint;Expand description
Handles requests for the ‘/video’ endpoint, serving video content for streaming.
§Arguments
config- The configuration settings.request- The HTTP request.info- The query parameter containing the file information.
§Returns
Returns an HttpResponse containing the video content or an error response.
Trait Implementations§
source§impl HttpServiceFactory for streaming_endpoint
impl HttpServiceFactory for streaming_endpoint
fn register(self, __config: &mut AppService)
Auto Trait Implementations§
impl RefUnwindSafe for streaming_endpoint
impl Send for streaming_endpoint
impl Sync for streaming_endpoint
impl Unpin for streaming_endpoint
impl UnwindSafe for streaming_endpoint
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