Protected destructor to prevent deletion through this type.
~basic_file();
This function destroys the file, cancelling any outstanding asynchronous operations associated with the file as if by calling cancel.
cancel