pub enum MockControllerError {
DuplicateIds,
FidlError(Error),
}
Expand description
Errors that can be returned by MockController
.
Variants§
DuplicateIds
Duplicate IDs were given to a function that expects objects with unique IDs. For example, MockController has been assigned multiple displays with clashing IDs.
FidlError(Error)
Error from the underlying FIDL bindings or channel transport.
Trait Implementations§
source§impl Debug for MockControllerError
impl Debug for MockControllerError
source§impl Display for MockControllerError
impl Display for MockControllerError
source§impl Error for MockControllerError
impl Error for MockControllerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()