pub enum ControllerBuildError {
EmptyServiceName,
ConfigLoad(ConfigLoadError),
InitialEnable(EnableError),
}Expand description
Errors emitted while building a controller.
Variants§
EmptyServiceName
Service name was empty.
ConfigLoad(ConfigLoadError)
Config file load failed while building.
InitialEnable(EnableError)
Initially-enabled controller failed to create first generation.
Trait Implementations§
Source§impl Debug for ControllerBuildError
impl Debug for ControllerBuildError
Source§impl Display for ControllerBuildError
impl Display for ControllerBuildError
Source§impl Error for ControllerBuildError
impl Error for ControllerBuildError
1.30.0 · 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 ControllerBuildError
impl !RefUnwindSafe for ControllerBuildError
impl Send for ControllerBuildError
impl Sync for ControllerBuildError
impl Unpin for ControllerBuildError
impl UnsafeUnpin for ControllerBuildError
impl !UnwindSafe for ControllerBuildError
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