Struct subtr_actor::SubtrActorError
source · pub struct SubtrActorError {
pub backtrace: Backtrace,
pub variant: SubtrActorErrorVariant,
}Expand description
SubtrActorError struct provides an error variant
SubtrActorErrorVariant along with its backtrace.
Fields§
§backtrace: Backtrace§variant: SubtrActorErrorVariantImplementations§
source§impl SubtrActorError
impl SubtrActorError
pub fn new(variant: SubtrActorErrorVariant) -> Self
pub fn new_result<T>(variant: SubtrActorErrorVariant) -> Result<T, Self>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SubtrActorError
impl Send for SubtrActorError
impl Sync for SubtrActorError
impl Unpin for SubtrActorError
impl UnwindSafe for SubtrActorError
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