pub struct AgentConstructorOptions { /* private fields */ }
Implementations§
Source§impl AgentConstructorOptions
impl AgentConstructorOptions
pub fn keep_alive_msecs(&self) -> f64
pub fn set_keep_alive_msecs(&mut self, value: f64)
pub fn keep_alive(&self) -> bool
pub fn set_keep_alive(&mut self, value: bool)
pub fn max_free_sockets(&self) -> f64
pub fn set_max_free_sockets(&mut self, value: f64)
pub fn max_sockets(&self) -> f64
pub fn set_max_sockets(&mut self, value: f64)
pub fn timeout(&self) -> f64
pub fn set_timeout(&mut self, value: f64)
Trait Implementations§
Source§impl Clone for AgentConstructorOptions
impl Clone for AgentConstructorOptions
Source§fn clone(&self) -> AgentConstructorOptions
fn clone(&self) -> AgentConstructorOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentConstructorOptions
impl Debug for AgentConstructorOptions
Source§impl From<AgentConstructorOptions> for JsValue
impl From<AgentConstructorOptions> for JsValue
Source§fn from(value: AgentConstructorOptions) -> Self
fn from(value: AgentConstructorOptions) -> Self
Converts to this type from the input type.
Source§impl RefFromWasmAbi for AgentConstructorOptions
impl RefFromWasmAbi for AgentConstructorOptions
Source§type Anchor = RcRef<AgentConstructorOptions>
type Anchor = RcRef<AgentConstructorOptions>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl VectorFromWasmAbi for AgentConstructorOptions
impl VectorFromWasmAbi for AgentConstructorOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[AgentConstructorOptions]>
Source§impl VectorIntoJsValue for AgentConstructorOptions
impl VectorIntoJsValue for AgentConstructorOptions
fn vector_into_jsvalue(vector: Box<[AgentConstructorOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for AgentConstructorOptions
impl VectorIntoWasmAbi for AgentConstructorOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[AgentConstructorOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for AgentConstructorOptions
impl WasmDescribeVector for AgentConstructorOptions
impl SupportsConstructor for AgentConstructorOptions
impl SupportsInstanceProperty for AgentConstructorOptions
impl SupportsStaticProperty for AgentConstructorOptions
Auto Trait Implementations§
impl Freeze for AgentConstructorOptions
impl RefUnwindSafe for AgentConstructorOptions
impl Send for AgentConstructorOptions
impl Sync for AgentConstructorOptions
impl Unpin for AgentConstructorOptions
impl UnwindSafe for AgentConstructorOptions
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,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.