pub struct track;Expand description
Handles requests for the ‘/track/{track_path:.*}’ endpoint, serving track files.
§Arguments
request- A reference to the Actix webHttpRequestobject.info- Query string from the request.config- Configuration data for the application.fernet- Fernet object to encrypt the auth payload that will be set assession_tokencookie.session- Session struct that holds thesession_mappingandsession_trackerto handle sessions.
§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