enum ugcs::vsm::Io_result

Overview

Result of I/O operation. More…

#include <io_stream.h>

enum Io_result
{
    OK,
    TIMED_OUT,
    CANCELED,
    BAD_ADDRESS,
    CONNECTION_REFUSED,
    CLOSED,
    PERMISSION_DENIED,
    END_OF_FILE,
    LOCK_ERROR,
    OTHER_FAILURE,
};

Detailed Documentation

Result of I/O operation.

Enum Values

OK

Operation completed successfully.

TIMED_OUT

Operation timed out.

CANCELED

Operation canceled.

BAD_ADDRESS

Bad address specific.

It could not be understood and used.

CONNECTION_REFUSED

Remote side has explicitly refused the connection.

CLOSED

Stream has been or is closed.

All pending or new operations initiated for closed stream are completed with this result.

PERMISSION_DENIED

Insufficient permissions for the requested operation.

END_OF_FILE

End of file encountered.

LOCK_ERROR

File locking error.

Possible double lock or unlock while not locked

OTHER_FAILURE

Some other system failure.

If happened, it is recommended to investigate the root cause.