pub enum RemoteCompletionResult {
Candidates {
items: Vec<RemoteCandidate>,
source: CandidateSource,
notes: Vec<String>,
listed_directory: Option<String>,
},
ConnectRequired {
endpoint: String,
},
}Expand description
The worker’s terminal answer. Failures travel as
Outcome::Failed; this carries only successes.
Variants§
Candidates
Fields
§
source: CandidateSourceConnectRequired
Path completion found no live connection. Connecting is an explicit user action (open/browse); completion must not take it.
Trait Implementations§
Source§impl Clone for RemoteCompletionResult
impl Clone for RemoteCompletionResult
Source§fn clone(&self) -> RemoteCompletionResult
fn clone(&self) -> RemoteCompletionResult
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 RemoteCompletionResult
impl Debug for RemoteCompletionResult
Source§impl<'de> Deserialize<'de> for RemoteCompletionResult
impl<'de> Deserialize<'de> for RemoteCompletionResult
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 Freeze for RemoteCompletionResult
impl RefUnwindSafe for RemoteCompletionResult
impl Send for RemoteCompletionResult
impl Sync for RemoteCompletionResult
impl Unpin for RemoteCompletionResult
impl UnsafeUnpin for RemoteCompletionResult
impl UnwindSafe for RemoteCompletionResult
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