pub struct DaemonSessionOptions {
pub workspace: Option<String>,
pub stream_delivery: String,
pub post_idle_drain: Duration,
pub early_drop_fn: Option<EarlyDropFn>,
}Expand description
Options for constructing a DaemonSession.
Fields§
§workspace: Option<String>Workspace path.
stream_delivery: StringStream delivery mode.
post_idle_drain: DurationPost-idle drain window.
early_drop_fn: Option<EarlyDropFn>Optional early-drop filter (defaults to should_drop_stream_chunk_early).
Trait Implementations§
Source§impl Clone for DaemonSessionOptions
impl Clone for DaemonSessionOptions
Source§fn clone(&self) -> DaemonSessionOptions
fn clone(&self) -> DaemonSessionOptions
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 moreSource§impl Debug for DaemonSessionOptions
impl Debug for DaemonSessionOptions
Auto Trait Implementations§
impl !RefUnwindSafe for DaemonSessionOptions
impl !UnwindSafe for DaemonSessionOptions
impl Freeze for DaemonSessionOptions
impl Send for DaemonSessionOptions
impl Sync for DaemonSessionOptions
impl Unpin for DaemonSessionOptions
impl UnsafeUnpin for DaemonSessionOptions
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