pub enum Which {
Agent,
User,
Memory,
}Expand description
Which of the three files a request means. A fixed set, never a path: the dashboard cannot ask
for a file the loader would not inject, and there is no way to spell ../../.ssh/id_rsa here.
Variants§
Agent
AGENT.md — the file this workspace injects last, or the profile’s own when it has none.
User
USER.md.
Memory
MEMORY.md, whose writer is crate::memory::Memory.
Implementations§
Trait Implementations§
impl Copy for Which
impl Eq for Which
impl StructuralPartialEq for Which
Auto Trait Implementations§
impl Forget for Which
impl Freeze for Which
impl Move for Which
impl RefUnwindSafe for Which
impl Send for Which
impl Sync for Which
impl Unpin for Which
impl UnsafeUnpin for Which
impl UnwindSafe for Which
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.