Class OpenVDS::ScopedVDSHandle
-
class ScopedVDSHandle
Public Functions
-
inline ScopedVDSHandle()
-
inline ScopedVDSHandle(ScopedVDSHandle &&VDS)
-
inline ~ScopedVDSHandle()
-
inline void Close()
Close the VDS and free up all associated resources. If an error occurs, an exception will be thrown.
-
inline void RetryableClose()
Close the VDS and free up all associated resources if the close succeeds. If an error occurs, an exception will be thrown.
-
inline void RetryableClose(Error &error)
Close the VDS and free up all associated resources if the close succeeds.
-
inline operator bool() const
-
inline ScopedVDSHandle &operator=(VDSHandle const &VDS) noexcept(true)
-
inline ScopedVDSHandle &operator=(ScopedVDSHandle &&VDS) noexcept(true)
-
inline ScopedVDSHandle()