pub enum Voice {
Client,
Instance,
}Expand description
Who says what came of an open.
An invocation started from a desktop entry has no terminal, so the lines it is handed back go nowhere and the person who double-clicked learns nothing — including, on the paths that matter most, that the content file was refused or that it is an executable wearing a document’s name (concept 5.1). An invocation from a shell has a terminal and will print them itself, and an instance that also announced them would say everything twice.
Only the client knows which it is, so the client says. This decides where a message is shown and nothing else: concept 8 calls the front door a control surface, and a field that moves text between two of this tool’s own outputs is not one of its controls.
Variants§
Client
The client has somewhere to print, and will.
Instance
The client has not, so the instance speaks through concept 9’s channel.
Trait Implementations§
impl Copy for Voice
impl Eq for Voice
impl StructuralPartialEq for Voice
Auto Trait Implementations§
impl Freeze for Voice
impl RefUnwindSafe for Voice
impl Send for Voice
impl Sync for Voice
impl Unpin for Voice
impl UnsafeUnpin for Voice
impl UnwindSafe for Voice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.