pub enum PluginSource {
Project,
User,
Managed,
}Expand description
Where a plugin was discovered. Determines override semantics.
Variants§
Project
<workspace>/.caliban/plugins/<name>/
User
$XDG_DATA_HOME/caliban/plugins/<name>/
Managed
/etc/caliban/plugins/<name>/ (Linux), platform analogues elsewhere.
Implementations§
Trait Implementations§
Source§impl Clone for PluginSource
impl Clone for PluginSource
Source§fn clone(&self) -> PluginSource
fn clone(&self) -> PluginSource
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 moreimpl Copy for PluginSource
Source§impl Debug for PluginSource
impl Debug for PluginSource
impl Eq for PluginSource
Source§impl Hash for PluginSource
impl Hash for PluginSource
Source§impl PartialEq for PluginSource
impl PartialEq for PluginSource
Source§fn eq(&self, other: &PluginSource) -> bool
fn eq(&self, other: &PluginSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PluginSource
Auto Trait Implementations§
impl Freeze for PluginSource
impl RefUnwindSafe for PluginSource
impl Send for PluginSource
impl Sync for PluginSource
impl Unpin for PluginSource
impl UnsafeUnpin for PluginSource
impl UnwindSafe for PluginSource
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.