pub enum ResponseBody {
Handshake(Box<HelperIdentity>),
Build(Box<BuildDescription>),
Analyzed(Box<CompilerIr>),
Unavailable {
unit: UnitRef,
reason: Unavailability,
},
Shutdown,
Failed(Failure),
}Expand description
The answers.
Variants§
Handshake(Box<HelperIdentity>)
Who the helper is and what it can do.
Build(Box<BuildDescription>)
What the tree’s code is analyzed under.
Analyzed(Box<CompilerIr>)
What the compiler knows about the unit.
Nothing can be known about the unit, and why.
Distinct from ResponseBody::Failed: the helper is working, and this
unit is one it cannot analyze. A scan carries on and says so.
Shutdown
Shutdown acknowledged.
Failed(Failure)
The request could not be answered.
Trait Implementations§
Source§impl Clone for ResponseBody
impl Clone for ResponseBody
Source§fn clone(&self) -> ResponseBody
fn clone(&self) -> ResponseBody
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 ResponseBody
impl Debug for ResponseBody
Source§impl<'de> Deserialize<'de> for ResponseBody
impl<'de> Deserialize<'de> for ResponseBody
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
impl Eq for ResponseBody
Source§impl PartialEq for ResponseBody
impl PartialEq for ResponseBody
Source§impl Serialize for ResponseBody
impl Serialize for ResponseBody
impl StructuralPartialEq for ResponseBody
Auto Trait Implementations§
impl Freeze for ResponseBody
impl RefUnwindSafe for ResponseBody
impl Send for ResponseBody
impl Sync for ResponseBody
impl Unpin for ResponseBody
impl UnsafeUnpin for ResponseBody
impl UnwindSafe for ResponseBody
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