#[non_exhaustive]pub struct SessionFsConfig {
pub initial_cwd: String,
pub session_state_path: String,
pub conventions: SessionFsConventions,
}Expand description
Configuration for a custom session filesystem provider.
When set on ClientOptions::session_fs,
the SDK calls sessionFs.setProvider during Client::start
to tell the CLI to route per-session filesystem operations to the SDK.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.initial_cwd: StringInitial working directory for sessions (the user’s project directory).
session_state_path: StringPath within each session’s SessionFs where the runtime stores session-scoped files (events, workspace, checkpoints, etc.).
conventions: SessionFsConventionsPath conventions used by this filesystem provider.
Implementations§
Trait Implementations§
Source§impl Clone for SessionFsConfig
impl Clone for SessionFsConfig
Source§fn clone(&self) -> SessionFsConfig
fn clone(&self) -> SessionFsConfig
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 moreAuto Trait Implementations§
impl Freeze for SessionFsConfig
impl RefUnwindSafe for SessionFsConfig
impl Send for SessionFsConfig
impl Sync for SessionFsConfig
impl Unpin for SessionFsConfig
impl UnsafeUnpin for SessionFsConfig
impl UnwindSafe for SessionFsConfig
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