Skip to main content

delete_session

Function delete_session 

Source
pub fn delete_session() -> Result<(), SessionError>
Expand description

Delete the session file. Returns Ok(()) even if the file doesn’t exist.

§Errors

Returns SessionError::Io on I/O errors other than “not found”.