pub struct EnsureConfig {
pub autostart: bool,
pub caliband_bin: String,
pub startup_timeout: Duration,
pub env: BTreeMap<String, String>,
}Expand description
Configuration for ensure_caliband.
Fields§
§autostart: boolSpawn caliband --workspace-root <root> if no daemon is reachable.
caliband_bin: StringThe caliban daemon binary name/path.
startup_timeout: DurationHow long to wait for the socket to come up after autostart.
env: BTreeMap<String, String>Extra environment variables layered onto the caliband process.
Trait Implementations§
Source§impl Clone for EnsureConfig
impl Clone for EnsureConfig
Source§fn clone(&self) -> EnsureConfig
fn clone(&self) -> EnsureConfig
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 EnsureConfig
impl Debug for EnsureConfig
Auto Trait Implementations§
impl Freeze for EnsureConfig
impl RefUnwindSafe for EnsureConfig
impl Send for EnsureConfig
impl Sync for EnsureConfig
impl Unpin for EnsureConfig
impl UnsafeUnpin for EnsureConfig
impl UnwindSafe for EnsureConfig
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more