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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NetServerOptions
Source§impl Debug for NetServerOptions
impl Debug for NetServerOptions
impl Eq 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 LongRefFromWasmAbi for NetServerOptions
impl LongRefFromWasmAbi for NetServerOptions
Source§type Abi = WasmPtr<WasmRefCell<NetServerOptions>>
type Abi = WasmPtr<WasmRefCell<NetServerOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<NetServerOptions>
type Anchor = RcRef<NetServerOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§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§fn eq(&self, other: &NetServerOptions) -> bool
fn eq(&self, other: &NetServerOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for NetServerOptions
impl RefFromWasmAbi for NetServerOptions
Source§type Abi = WasmPtr<WasmRefCell<NetServerOptions>>
type Abi = WasmPtr<WasmRefCell<NetServerOptions>>
The Wasm ABI type references to
Self are recovered from.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§type Abi = WasmPtr<WasmRefCell<NetServerOptions>>
type Abi = WasmPtr<WasmRefCell<NetServerOptions>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<NetServerOptions>
type Anchor = RcRefMut<NetServerOptions>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for NetServerOptions
impl SupportsConstructor for NetServerOptions
impl SupportsInstanceProperty for NetServerOptions
impl SupportsStaticProperty 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 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
Auto Trait Implementations§
impl Freeze for NetServerOptions
impl RefUnwindSafe for NetServerOptions
impl Send for NetServerOptions
impl Sync for NetServerOptions
impl Unpin for NetServerOptions
impl UnsafeUnpin 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::AbiSource§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.