pub struct ThrownPayload { /* private fields */ }Expand description
Payload of a propagating throw: the thrown value plus the heap and fuel
at the moment the throw was raised. Carried inside Error::Thrown
behind a Box so the Result discriminant stays small.
Implementations§
Source§impl ThrownPayload
impl ThrownPayload
Trait Implementations§
Source§impl Clone for ThrownPayload
impl Clone for ThrownPayload
Source§fn clone(&self) -> ThrownPayload
fn clone(&self) -> ThrownPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThrownPayload
impl Debug for ThrownPayload
Source§impl PartialEq for ThrownPayload
impl PartialEq for ThrownPayload
Source§fn eq(&self, other: &ThrownPayload) -> bool
fn eq(&self, other: &ThrownPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ThrownPayload
impl StructuralPartialEq for ThrownPayload
Auto Trait Implementations§
impl Freeze for ThrownPayload
impl RefUnwindSafe for ThrownPayload
impl Send for ThrownPayload
impl Sync for ThrownPayload
impl Unpin for ThrownPayload
impl UnsafeUnpin for ThrownPayload
impl UnwindSafe for ThrownPayload
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