pub enum SwitchyardCreationError {
InvalidAffinity {
affinity: usize,
total_threads: usize,
},
}Expand description
Errors encountered when creating a Switchyard.
Variants§
Trait Implementations§
Source§impl Debug for SwitchyardCreationError
impl Debug for SwitchyardCreationError
Source§impl Display for SwitchyardCreationError
impl Display for SwitchyardCreationError
Source§impl Error for SwitchyardCreationError
impl Error for SwitchyardCreationError
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 SwitchyardCreationError
impl RefUnwindSafe for SwitchyardCreationError
impl Send for SwitchyardCreationError
impl Sync for SwitchyardCreationError
impl Unpin for SwitchyardCreationError
impl UnsafeUnpin for SwitchyardCreationError
impl UnwindSafe for SwitchyardCreationError
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