Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::ResultFileSystemWatcher Struct Reference

FileSystemWatcher result retaining backend-stage and native-error context. More...

#include <FileSystemWatcherError.h>

Public Member Functions

constexpr ResultFileSystemWatcher (bool valid=true)
 
constexpr ResultFileSystemWatcher (FileSystemWatcherError error, FileSystemWatcherErrorDetail detail=FileSystemWatcherErrorDetail::None, uint32_t nativeError=0)
 
constexpr ResultFileSystemWatcher (Result result)
 
template<typename ResultLike >
constexpr ResultFileSystemWatcher (const ResultLike &other)
 
constexpr operator bool () const
 
constexpr operator Result () const
 
constexpr Result toResult () const
 
constexpr bool isError (FileSystemWatcherError error) const
 

Public Attributes

Result result
 
FileSystemWatcherErrorDetail detail = FileSystemWatcherErrorDetail::None
 
uint32_t nativeError = 0
 

Detailed Description

FileSystemWatcher result retaining backend-stage and native-error context.

The composed Result is authoritative. Context is retained only for this category and is cleared when a plain or foreign result is converted into this type. Converting to Result preserves category and error identity and deliberately discards context.


The documentation for this struct was generated from the following file: