pub struct OwnedStdStructError<R: DomainReason> { /* private fields */ }Implementations§
Source§impl<R> OwnedStdStructError<R>where
R: DomainReason,
impl<R> OwnedStdStructError<R>where
R: DomainReason,
pub fn into_struct(self) -> StructError<R>
pub fn inner(&self) -> &StructError<R>
pub fn into_boxed(self) -> Box<dyn StdError + Send + Sync + 'static>
Trait Implementations§
Source§impl<R: Clone + DomainReason> Clone for OwnedStdStructError<R>
impl<R: Clone + DomainReason> Clone for OwnedStdStructError<R>
Source§fn clone(&self) -> OwnedStdStructError<R>
fn clone(&self) -> OwnedStdStructError<R>
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<R: Debug + DomainReason> Debug for OwnedStdStructError<R>
impl<R: Debug + DomainReason> Debug for OwnedStdStructError<R>
Source§impl<R> Display for OwnedStdStructError<R>where
R: DomainReason,
impl<R> Display for OwnedStdStructError<R>where
R: DomainReason,
Source§impl<R> Error for OwnedStdStructError<R>where
R: DomainReason,
impl<R> Error for OwnedStdStructError<R>where
R: DomainReason,
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 OwnedDynStdStructErrorwhere
R: DomainReason,
impl<R> From<OwnedStdStructError<R>> for OwnedDynStdStructErrorwhere
R: DomainReason,
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 OwnedStdStructError<R>where
R: DomainReason,
impl<R> From<StructError<R>> for OwnedStdStructError<R>where
R: DomainReason,
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<R> Freeze for OwnedStdStructError<R>
impl<R> !RefUnwindSafe for OwnedStdStructError<R>
impl<R> Send for OwnedStdStructError<R>
impl<R> Sync for OwnedStdStructError<R>
impl<R> Unpin for OwnedStdStructError<R>
impl<R> UnsafeUnpin for OwnedStdStructError<R>
impl<R> !UnwindSafe for OwnedStdStructError<R>
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