pub enum DomainCreationError {
DomainSizeFailed(usize),
DomainConstructionFailed(String, usize),
}Expand description
Errors that can arise when preparing the setup
Variants§
Trait Implementations§
Source§impl Clone for DomainCreationError
impl Clone for DomainCreationError
Source§fn clone(&self) -> DomainCreationError
fn clone(&self) -> DomainCreationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DomainCreationError
impl Debug for DomainCreationError
Source§impl Display for DomainCreationError
impl Display for DomainCreationError
Source§impl Error for DomainCreationError
impl Error for DomainCreationError
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 DomainCreationError
impl RefUnwindSafe for DomainCreationError
impl Send for DomainCreationError
impl Sync for DomainCreationError
impl Unpin for DomainCreationError
impl UnsafeUnpin for DomainCreationError
impl UnwindSafe for DomainCreationError
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