pub enum ExportState {
Resolved {
id: RuntimeId,
},
Declared,
Unsupported {
reason: String,
},
Invalid {
error: String,
},
}Expand description
The resolution state of an export within a loaded library.
Variants§
Resolved
Resolved to a registry-assigned stable runtime id.
Declared
Declared in the manifest but not yet resolved to behavior.
Unsupported
Recognized but not supported in this host, with a human-readable reason.
Invalid
Rejected as invalid, with a human-readable error.
Trait Implementations§
Source§impl Clone for ExportState
impl Clone for ExportState
Source§fn clone(&self) -> ExportState
fn clone(&self) -> ExportState
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 ExportState
impl Debug for ExportState
impl Eq for ExportState
Source§impl PartialEq for ExportState
impl PartialEq for ExportState
Source§fn eq(&self, other: &ExportState) -> bool
fn eq(&self, other: &ExportState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExportState
Auto Trait Implementations§
impl Freeze for ExportState
impl RefUnwindSafe for ExportState
impl Send for ExportState
impl Sync for ExportState
impl Unpin for ExportState
impl UnsafeUnpin for ExportState
impl UnwindSafe for ExportState
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