pub struct ServerConfig { /* private fields */ }
Implementations§
Source§impl ServerConfig
impl ServerConfig
pub fn new(into_server: AsyncIterator, from_server: WritableStream) -> Self
Trait Implementations§
Source§impl From<ServerConfig> for JsValue
impl From<ServerConfig> for JsValue
Source§fn from(value: ServerConfig) -> Self
fn from(value: ServerConfig) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for ServerConfig
impl FromWasmAbi for ServerConfig
Source§impl IntoWasmAbi for ServerConfig
impl IntoWasmAbi for ServerConfig
Source§impl LongRefFromWasmAbi for ServerConfig
impl LongRefFromWasmAbi for ServerConfig
Source§impl OptionFromWasmAbi for ServerConfig
impl OptionFromWasmAbi for ServerConfig
Source§impl OptionIntoWasmAbi for ServerConfig
impl OptionIntoWasmAbi for ServerConfig
Source§impl RefFromWasmAbi for ServerConfig
impl RefFromWasmAbi for ServerConfig
Source§type Anchor = RcRef<ServerConfig>
type Anchor = RcRef<ServerConfig>
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 ServerConfig
impl RefMutFromWasmAbi for ServerConfig
Source§impl TryFromJsValue for ServerConfig
impl TryFromJsValue for ServerConfig
Source§impl VectorFromWasmAbi for ServerConfig
impl VectorFromWasmAbi for ServerConfig
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[ServerConfig]>
Source§impl VectorIntoJsValue for ServerConfig
impl VectorIntoJsValue for ServerConfig
fn vector_into_jsvalue(vector: Box<[ServerConfig]>) -> JsValue
Source§impl VectorIntoWasmAbi for ServerConfig
impl VectorIntoWasmAbi for ServerConfig
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[ServerConfig]>) -> Self::Abi
Source§impl WasmDescribeVector for ServerConfig
impl WasmDescribeVector for ServerConfig
Auto Trait Implementations§
impl Freeze for ServerConfig
impl RefUnwindSafe for ServerConfig
impl !Send for ServerConfig
impl !Sync for ServerConfig
impl Unpin for ServerConfig
impl UnwindSafe for ServerConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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
.