pub struct AbortData {
pub reason: AbortReason,
}Expand description
Turn abort information including the reason for termination
Fields§
§reason: AbortReasonFinite reason code describing why the current turn was aborted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AbortData
impl<'de> Deserialize<'de> for AbortData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AbortData
impl RefUnwindSafe for AbortData
impl Send for AbortData
impl Sync for AbortData
impl Unpin for AbortData
impl UnsafeUnpin for AbortData
impl UnwindSafe for AbortData
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