pub struct OwnedDynStdStructError { /* private fields */ }Implementations§
Source§impl OwnedDynStdStructError
impl OwnedDynStdStructError
pub fn source_frames(&self) -> &[SourceFrame]
pub fn into_boxed(self) -> Box<dyn StdError + Send + Sync + 'static>
Trait Implementations§
Source§impl Clone for OwnedDynStdStructError
impl Clone for OwnedDynStdStructError
Source§fn clone(&self) -> OwnedDynStdStructError
fn clone(&self) -> OwnedDynStdStructError
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 OwnedDynStdStructError
impl Debug for OwnedDynStdStructError
Source§impl Display for OwnedDynStdStructError
impl Display for OwnedDynStdStructError
Source§impl Error for OwnedDynStdStructError
impl Error for OwnedDynStdStructError
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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<R> From<OwnedStdStructError<R>> for OwnedDynStdStructError
impl<R> From<OwnedStdStructError<R>> for OwnedDynStdStructError
Source§fn from(value: OwnedStdStructError<R>) -> Self
fn from(value: OwnedStdStructError<R>) -> Self
Converts to this type from the input type.
Source§impl<R> From<StructError<R>> for OwnedDynStdStructError
impl<R> From<StructError<R>> for OwnedDynStdStructError
Source§fn from(value: StructError<R>) -> Self
fn from(value: StructError<R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnedDynStdStructError
impl !RefUnwindSafe for OwnedDynStdStructError
impl Send for OwnedDynStdStructError
impl Sync for OwnedDynStdStructError
impl Unpin for OwnedDynStdStructError
impl UnsafeUnpin for OwnedDynStdStructError
impl !UnwindSafe for OwnedDynStdStructError
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