pub enum MockCoordinatorError {
DuplicateIds,
FidlError(Error),
}
Expand description
Errors that can be returned by MockCoordinator
.
Variants§
DuplicateIds
Duplicate IDs were given to a function that expects objects with unique IDs. For example, MockCoordinator 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 MockCoordinatorError
impl Debug for MockCoordinatorError
Source§impl Display for MockCoordinatorError
impl Display for MockCoordinatorError
Source§impl Error for MockCoordinatorError
impl Error for MockCoordinatorError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for MockCoordinatorError
impl !RefUnwindSafe for MockCoordinatorError
impl Send for MockCoordinatorError
impl Sync for MockCoordinatorError
impl Unpin for MockCoordinatorError
impl !UnwindSafe for MockCoordinatorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more