pub struct FromMatlabError<P> { /* private fields */ }Expand description
Error converting from matlab. Stores the unconverted data, allowing it to be reused, especially for owned data.
Implementations§
Source§impl<S> FromMatlabError<S>
impl<S> FromMatlabError<S>
pub fn new( unconverted_data: S, the_reason: FromMatlabErrorReason, ) -> FromMatlabError<S>
pub fn new_badclass(unconverted_data: S) -> FromMatlabError<S>
pub fn new_badcomplexity(unconverted_data: S) -> FromMatlabError<S>
pub fn new_badsparsity(unconverted_data: S) -> FromMatlabError<S>
pub fn new_badsize(unconverted_data: S) -> FromMatlabError<S>
pub fn original(self) -> S
pub fn reason_ref(&self) -> &FromMatlabErrorReason
pub fn reason(&self) -> FromMatlabErrorReason
Trait Implementations§
Source§impl<D> Display for FromMatlabError<D>
impl<D> Display for FromMatlabError<D>
Source§impl<S> MexMessage for FromMatlabError<S>
impl<S> MexMessage for FromMatlabError<S>
Auto Trait Implementations§
impl<P> Freeze for FromMatlabError<P>where
P: Freeze,
impl<P> RefUnwindSafe for FromMatlabError<P>where
P: RefUnwindSafe,
impl<P> Send for FromMatlabError<P>where
P: Send,
impl<P> Sync for FromMatlabError<P>where
P: Sync,
impl<P> Unpin for FromMatlabError<P>where
P: Unpin,
impl<P> UnwindSafe for FromMatlabError<P>where
P: UnwindSafe,
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