Struct Overanswered
#[non_exhaustive]pub struct Overanswered {
pub owner: String,
}Expand description
A handler answered more than it was asked (move_resources): a mod bug, warned once naming
the mod. Returned from a host.transaction closure with ?, it aborts the whole move, so
neither end keeps any of it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.owner: StringThe mod whose handler answered, or “the game”.
Trait Implementations§
§impl Clone for Overanswered
impl Clone for Overanswered
§fn clone(&self) -> Overanswered
fn clone(&self) -> Overanswered
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 more§impl Debug for Overanswered
impl Debug for Overanswered
impl Eq for Overanswered
§impl PartialEq for Overanswered
impl PartialEq for Overanswered
impl StructuralPartialEq for Overanswered
Auto Trait Implementations§
impl Freeze for Overanswered
impl RefUnwindSafe for Overanswered
impl Send for Overanswered
impl Sync for Overanswered
impl Unpin for Overanswered
impl UnsafeUnpin for Overanswered
impl UnwindSafe for Overanswered
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