pub enum ErrorHandler {
Fatal,
Return,
}Expand description
A communicator error handler (MPI_Errhandler).
Variants§
Fatal
Abort the job when an error is raised (MPI_ERRORS_ARE_FATAL, default).
Return
Return the error code to the caller (MPI_ERRORS_RETURN).
Trait Implementations§
Source§impl Clone for ErrorHandler
impl Clone for ErrorHandler
Source§fn clone(&self) -> ErrorHandler
fn clone(&self) -> ErrorHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ErrorHandler
Source§impl Debug for ErrorHandler
impl Debug for ErrorHandler
impl Eq for ErrorHandler
Source§impl PartialEq for ErrorHandler
impl PartialEq for ErrorHandler
Source§fn eq(&self, other: &ErrorHandler) -> bool
fn eq(&self, other: &ErrorHandler) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorHandler
Auto Trait Implementations§
impl Freeze for ErrorHandler
impl RefUnwindSafe for ErrorHandler
impl Send for ErrorHandler
impl Sync for ErrorHandler
impl Unpin for ErrorHandler
impl UnsafeUnpin for ErrorHandler
impl UnwindSafe for ErrorHandler
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