pub enum CargoMessage<'a> {
CompilerArtifact {
filenames: Vec<Cow<'a, str>>,
target: CargoTarget<'a>,
},
BuildScriptExecuted,
BuildFinished,
}
Variants§
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for CargoMessage<'a>
impl<'de, 'a> Deserialize<'de> for CargoMessage<'a>
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<'a> Freeze for CargoMessage<'a>
impl<'a> RefUnwindSafe for CargoMessage<'a>
impl<'a> Send for CargoMessage<'a>
impl<'a> Sync for CargoMessage<'a>
impl<'a> Unpin for CargoMessage<'a>
impl<'a> UnwindSafe for CargoMessage<'a>
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
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes
Size for each variant:
CompilerArtifact
: 48 bytesBuildScriptExecuted
: 0 bytesBuildFinished
: 0 bytes