pub enum InputKind {
Url,
Snippet,
Command,
Repository,
Folder,
Unknown,
}Expand description
What the text is.
Variants§
Url
An http(s):// address of a remote server.
Snippet
A client config snippet (JSON, JSONC, TOML, YAML) holding entries.
Command
A command line that starts a local (stdio) server.
Repository
A git repository to find servers in.
Folder
A local folder to find servers in.
Unknown
Nothing recognized (or empty).
Implementations§
Trait Implementations§
impl Copy for InputKind
impl Eq for InputKind
impl StructuralPartialEq for InputKind
Auto Trait Implementations§
impl Forget for InputKind
impl Freeze for InputKind
impl Move for InputKind
impl RefUnwindSafe for InputKind
impl Send for InputKind
impl Sync for InputKind
impl Unpin for InputKind
impl UnsafeUnpin for InputKind
impl UnwindSafe for InputKind
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,
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
Compare self to
key and return true if they are equal.