pub struct ChatAttachConfig { /* private fields */ }Expand description
Where chat_attach may read from, and where its copies go.
Implementations§
Source§impl ChatAttachConfig
impl ChatAttachConfig
Sourcepub fn standard(
home: Option<&Path>,
scv_home: &Path,
outbox: PathBuf,
allowed: Vec<PathBuf>,
max_bytes: u64,
) -> Self
pub fn standard( home: Option<&Path>, scv_home: &Path, outbox: PathBuf, allowed: Vec<PathBuf>, max_bytes: u64, ) -> Self
The standard rule: the SCV instance scv_home (its settings,
credentials, agent homes, and state) except allowed, the credential
and key locations under home, and host secrets.
Trait Implementations§
Source§impl Clone for ChatAttachConfig
impl Clone for ChatAttachConfig
Auto Trait Implementations§
impl Freeze for ChatAttachConfig
impl RefUnwindSafe for ChatAttachConfig
impl Send for ChatAttachConfig
impl Sync for ChatAttachConfig
impl Unpin for ChatAttachConfig
impl UnsafeUnpin for ChatAttachConfig
impl UnwindSafe for ChatAttachConfig
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