pub struct logout;Expand description
Handles the logout endpoint, logging out the user and rendering the appropriate HTML page.
§Arguments
config- Configuration data for the application.request- Actix HttpRequest containing information about the incoming request.
§Returns
Returns an HTTPResponse with the cookie for session_token reset if available.
Trait Implementations§
source§impl HttpServiceFactory for logout
impl HttpServiceFactory for logout
fn register(self, __config: &mut AppService)
Auto Trait Implementations§
impl RefUnwindSafe for logout
impl Send for logout
impl Sync for logout
impl Unpin for logout
impl UnwindSafe for logout
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