pub struct E2BConfig {
pub api_key: String,
pub template: String,
pub timeout_secs: u64,
}Expand description
Configuration for the E2B sandbox.
Fields§
§api_key: StringE2B API key.
template: StringSandbox template (e.g. "base", "python", "nodejs").
timeout_secs: u64Execution timeout in seconds.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for E2BConfig
impl RefUnwindSafe for E2BConfig
impl Send for E2BConfig
impl Sync for E2BConfig
impl Unpin for E2BConfig
impl UnsafeUnpin for E2BConfig
impl UnwindSafe for E2BConfig
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