Skip to main content

clear

Method
This is a method of the Session class in the session module.
Clear all messages

Signature

def clear(&mut self) -> Result<()>

Returns

Returns
Result<()>
The result of the operation.