pub enum Error {
Show 16 variants
DeviceNotFound,
NoDisplays,
AlreadyRequested,
BuffersNotAllocated,
SysmemConnection,
IdsExhausted,
DevicePathInvalid,
FidlError(Error),
IoError(Error),
ZxError(Status),
DeviceConnectionError(Error),
FsError(OpenError),
WatcherCreateError(WatcherCreateError),
WatcherStreamError(WatcherStreamError),
CouldNotSendVsyncEvent(TrySendError<VsyncEvent>),
InvalidUtf8(Utf8Error),
}
Expand description
Library error type.
Variants§
DeviceNotFound
Error encountered while connecting to a display-coordinator device via devfs.
NoDisplays
No displays were reported by the display driver when expected.
AlreadyRequested
A request handling task (such as one that owns a FIDL event stream that can only be started once) was already been initiated before.
BuffersNotAllocated
Error while allocating shared sysmem buffers.
SysmemConnection
Error while establishing a connection to sysmem.
IdsExhausted
Ran out of free client-assigned identifiers.
DevicePathInvalid
Path to the device is invalid (e.g. containing invalid characters).
FidlError(Error)
Wrapper for errors from FIDL bindings.
IoError(Error)
Wrapper for system file I/O errors.
ZxError(Status)
Wrapper for errors from zircon syscalls.
DeviceConnectionError(Error)
Wrapper for errors from FIDL device connections.
FsError(OpenError)
Wrapper for errors from fuchsia-fs.
WatcherCreateError(WatcherCreateError)
Wrapper for errors from fuchsia-fs watcher creation.
WatcherStreamError(WatcherStreamError)
Wrapper for errors from the fuchsia-fs watcher stream.
CouldNotSendVsyncEvent(TrySendError<VsyncEvent>)
Error that occurred while notifying vsync event listeners over an in-process async channel.
InvalidUtf8(Utf8Error)
UTF-8 validation error.