pub struct NetServerOptions { /* private fields */ }
Implementations§
Source§impl NetServerOptions
impl NetServerOptions
pub fn allow_half_open(self) -> Option<bool>
pub fn set_allow_half_open(self, value: Option<bool>)
pub fn pause_on_connect(self) -> Option<bool>
pub fn set_pause_on_connect(self, value: Option<bool>)
Trait Implementations§
Source§impl Clone for NetServerOptions
impl Clone for NetServerOptions
Source§fn clone(&self) -> NetServerOptions
fn clone(&self) -> NetServerOptions
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 NetServerOptions
impl Debug for NetServerOptions
Source§impl From<NetServerOptions> for JsValue
impl From<NetServerOptions> for JsValue
Source§fn from(value: NetServerOptions) -> Self
fn from(value: NetServerOptions) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for NetServerOptions
impl FromWasmAbi for NetServerOptions
Source§impl IntoWasmAbi for NetServerOptions
impl IntoWasmAbi for NetServerOptions
Source§impl OptionFromWasmAbi for NetServerOptions
impl OptionFromWasmAbi for NetServerOptions
Source§impl OptionIntoWasmAbi for NetServerOptions
impl OptionIntoWasmAbi for NetServerOptions
Source§impl PartialEq for NetServerOptions
impl PartialEq for NetServerOptions
Source§impl RefFromWasmAbi for NetServerOptions
impl RefFromWasmAbi for NetServerOptions
Source§type Anchor = RcRef<NetServerOptions>
type Anchor = RcRef<NetServerOptions>
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 RefMutFromWasmAbi for NetServerOptions
impl RefMutFromWasmAbi for NetServerOptions
Source§impl TryFromJsValue for NetServerOptions
impl TryFromJsValue for NetServerOptions
Source§impl VectorFromWasmAbi for NetServerOptions
impl VectorFromWasmAbi for NetServerOptions
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[NetServerOptions]>
Source§impl VectorIntoJsValue for NetServerOptions
impl VectorIntoJsValue for NetServerOptions
fn vector_into_jsvalue(vector: Box<[NetServerOptions]>) -> JsValue
Source§impl VectorIntoWasmAbi for NetServerOptions
impl VectorIntoWasmAbi for NetServerOptions
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[NetServerOptions]>) -> Self::Abi
Source§impl WasmDescribeVector for NetServerOptions
impl WasmDescribeVector for NetServerOptions
impl Copy for NetServerOptions
impl Eq for NetServerOptions
impl StructuralPartialEq for NetServerOptions
impl SupportsConstructor for NetServerOptions
impl SupportsInstanceProperty for NetServerOptions
impl SupportsStaticProperty for NetServerOptions
Auto Trait Implementations§
impl Freeze for NetServerOptions
impl RefUnwindSafe for NetServerOptions
impl Send for NetServerOptions
impl Sync for NetServerOptions
impl Unpin for NetServerOptions
impl UnwindSafe for NetServerOptions
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
.