pub enum AgentStorageMode {
Persistent {
repo_path: Option<PathBuf>,
},
InMemory,
}Expand description
Storage mode for agent identity.
Variants§
Persistent
Persistent storage at a filesystem path.
Defaults to ~/.auths-agent if repo_path is None.
InMemory
In-memory storage for ephemeral/stateless containers (Fargate, Docker). Agent identity lives only for the process lifetime.
Trait Implementations§
Source§impl Clone for AgentStorageMode
impl Clone for AgentStorageMode
Source§fn clone(&self) -> AgentStorageMode
fn clone(&self) -> AgentStorageMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentStorageMode
impl RefUnwindSafe for AgentStorageMode
impl Send for AgentStorageMode
impl Sync for AgentStorageMode
impl Unpin for AgentStorageMode
impl UnsafeUnpin for AgentStorageMode
impl UnwindSafe for AgentStorageMode
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