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.fernet- Fernet object to encrypt the auth payload that will be set assession_tokencookie.session- Session struct that holds thesession_mappingandsession_trackerto handle sessions.metadata- Struct containing metadata of the application.config- Configuration data for the application.template- Configuration container for the loaded templates.
§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 Freeze for track
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