pub enum Msg {
Write(NixString),
Error(StderrError),
Next(NixString),
StartActivity(StderrStartActivity),
StopActivity(u64),
Result(StderrResult),
Last(()),
}
Expand description
The different stderr messages.
On the wire, they are represented as the opcode followed by the body.
Variants§
Write(NixString)
Error(StderrError)
Next(NixString)
StartActivity(StderrStartActivity)
StopActivity(u64)
Result(StderrResult)
Last(())
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Msg
impl<'de> Deserialize<'de> for Msg
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 Msg
impl StructuralPartialEq for Msg
Auto Trait Implementations§
impl Freeze for Msg
impl RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnwindSafe for Msg
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