pub struct SvixOptions {
pub debug: bool,
pub server_url: Option<String>,
pub timeout: Option<Duration>,
}
Fields§
§debug: bool
§server_url: Option<String>
§timeout: Option<Duration>
Timeout for HTTP requests.
The timeout is applied from when the request starts connecting until
the response body has finished. If set to None
, requests never time
out.
Default: 15 seconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SvixOptions
impl RefUnwindSafe for SvixOptions
impl Send for SvixOptions
impl Sync for SvixOptions
impl Unpin for SvixOptions
impl UnwindSafe for SvixOptions
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