pub struct track;Expand description
Handles requests for the ‘/track/{track_path:.*}’ endpoint, serving track files.
§Arguments
config- The configuration settings.request- The HTTP request.track_path- The path parameter representing the track file.
§Returns
Returns an HttpResponse containing the track file content or an error response.
Trait Implementations§
source§impl HttpServiceFactory for track
impl HttpServiceFactory for track
fn register(self, __config: &mut AppService)
Auto Trait Implementations§
impl RefUnwindSafe for track
impl Send for track
impl Sync for track
impl Unpin for track
impl UnwindSafe for track
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