pub enum CallOutput {
Lines(Vec<String>),
FileGone,
NoPath,
}Expand description
The answer to a read of a call’s own output file: the tail of the file the CLI streamed a backgrounded task’s output to, or the reason there is nothing to draw - never a blank.
The two reasons are named apart because a reader can act on the difference: a call the conversation no longer names is not a file that went away, and a view saying which of the two it met is the whole of what this carries.
Variants§
Lines(Vec<String>)
The tail, oldest first, as the command wrote it - escape sequences and all. What a renderer drops is the renderer’s rule: a terminal and a page drop different bytes.
FileGone
The file the read was pointed at is gone, or would not open.
NoPath
No output file is recorded for this call: the frame that named one is not in the conversation the task carries.
Trait Implementations§
Source§impl Clone for CallOutput
impl Clone for CallOutput
Source§impl Debug for CallOutput
impl Debug for CallOutput
Source§impl<'de> Deserialize<'de> for CallOutput
impl<'de> Deserialize<'de> for CallOutput
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 CallOutput
Source§impl PartialEq for CallOutput
impl PartialEq for CallOutput
Source§impl Serialize for CallOutput
impl Serialize for CallOutput
impl StructuralPartialEq for CallOutput
Auto Trait Implementations§
impl Freeze for CallOutput
impl RefUnwindSafe for CallOutput
impl Send for CallOutput
impl Sync for CallOutput
impl Unpin for CallOutput
impl UnsafeUnpin for CallOutput
impl UnwindSafe for CallOutput
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.