pub struct AsyncDecline {
pub field: String,
pub family: Option<AsyncFamily>,
pub reason: String,
}Expand description
A refused P3-async import — the machine reason it cannot be compiled (#80).
Fields§
§field: StringThe offending import field (e.g. stream.read).
family: Option<AsyncFamily>The classified family, if recognized (None = unknown async import).
reason: StringThe machine reason string.
Trait Implementations§
Source§impl Clone for AsyncDecline
impl Clone for AsyncDecline
Source§fn clone(&self) -> AsyncDecline
fn clone(&self) -> AsyncDecline
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 AsyncDecline
impl Debug for AsyncDecline
Source§impl Display for AsyncDecline
impl Display for AsyncDecline
impl Eq for AsyncDecline
Source§impl PartialEq for AsyncDecline
impl PartialEq for AsyncDecline
impl StructuralPartialEq for AsyncDecline
Auto Trait Implementations§
impl Freeze for AsyncDecline
impl RefUnwindSafe for AsyncDecline
impl Send for AsyncDecline
impl Sync for AsyncDecline
impl Unpin for AsyncDecline
impl UnsafeUnpin for AsyncDecline
impl UnwindSafe for AsyncDecline
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.