pub enum ShellAndTubeConfigError {
ZeroShellPasses,
ShellPassOverflow,
InsufficientTubePasses,
TubePassesNotMultiple,
}Expand description
Errors returned when constructing a ShellAndTube arrangement.
Variants§
ZeroShellPasses
No shell passes were configured.
ShellPassOverflow
The requested shell pass count is too large to validate.
InsufficientTubePasses
Tube passes are fewer than twice the shell passes.
TubePassesNotMultiple
Tube passes are not an even multiple of shell passes.
Trait Implementations§
Source§impl Clone for ShellAndTubeConfigError
impl Clone for ShellAndTubeConfigError
Source§fn clone(&self) -> ShellAndTubeConfigError
fn clone(&self) -> ShellAndTubeConfigError
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 ShellAndTubeConfigError
impl Debug for ShellAndTubeConfigError
Source§impl Display for ShellAndTubeConfigError
impl Display for ShellAndTubeConfigError
Source§impl Error for ShellAndTubeConfigError
impl Error for ShellAndTubeConfigError
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()
Source§impl PartialEq for ShellAndTubeConfigError
impl PartialEq for ShellAndTubeConfigError
impl Copy for ShellAndTubeConfigError
impl Eq for ShellAndTubeConfigError
impl StructuralPartialEq for ShellAndTubeConfigError
Auto Trait Implementations§
impl Freeze for ShellAndTubeConfigError
impl RefUnwindSafe for ShellAndTubeConfigError
impl Send for ShellAndTubeConfigError
impl Sync for ShellAndTubeConfigError
impl Unpin for ShellAndTubeConfigError
impl UnsafeUnpin for ShellAndTubeConfigError
impl UnwindSafe for ShellAndTubeConfigError
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