pub struct SexpNaError {
pub sexp_type: SEXPTYPE,
}Expand description
Error for NA values in conversions that require non-missing values.
Fields§
§sexp_type: SEXPTYPER type where an NA was found.
Trait Implementations§
Source§impl Clone for SexpNaError
impl Clone for SexpNaError
Source§fn clone(&self) -> SexpNaError
fn clone(&self) -> SexpNaError
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 SexpNaError
impl Debug for SexpNaError
Source§impl Display for SexpNaError
impl Display for SexpNaError
Source§impl Error for SexpNaError
impl Error for SexpNaError
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 From<SexpNaError> for SexpError
impl From<SexpNaError> for SexpError
Source§fn from(e: SexpNaError) -> Self
fn from(e: SexpNaError) -> Self
Converts to this type from the input type.
impl Copy for SexpNaError
Auto Trait Implementations§
impl Freeze for SexpNaError
impl RefUnwindSafe for SexpNaError
impl Send for SexpNaError
impl Sync for SexpNaError
impl Unpin for SexpNaError
impl UnsafeUnpin for SexpNaError
impl UnwindSafe for SexpNaError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> RDisplay for Twhere
T: Display,
impl<T> RDisplay for Twhere
T: Display,
Source§fn as_r_string(&self) -> String
fn as_r_string(&self) -> String
Convert to a user-friendly string.
Source§impl<T> RError for Twhere
T: Error,
impl<T> RError for Twhere
T: Error,
Source§fn error_message(&self) -> String
fn error_message(&self) -> String
Get the error message (Display representation).
Source§fn error_chain(&self) -> Vec<String>
fn error_chain(&self) -> Vec<String>
Get all error messages in the chain, from outermost to innermost.
Source§fn error_chain_length(&self) -> i32
fn error_chain_length(&self) -> i32
Get the number of errors in the chain.