pub struct RuntimelessClientConfig(/* private fields */);
Expand description
An in-memory Connector to use with GenericServer.
Implementations§
Trait Implementations§
source§impl Clone for RuntimelessClientConfig
impl Clone for RuntimelessClientConfig
source§fn clone(&self) -> RuntimelessClientConfig
fn clone(&self) -> RuntimelessClientConfig
Returns a copy 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 Connector for RuntimelessClientConfig
impl Connector for RuntimelessClientConfig
type Transport = TestTransport
source§fn connect<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Self::Transport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn connect<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url,
) -> Pin<Box<dyn Future<Output = Result<Self::Transport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Initiate a connection to the provided url Read more
fn spawn<Fut: Future<Output = ()> + Send + 'static>(&self, fut: Fut)
source§impl Debug for RuntimelessClientConfig
impl Debug for RuntimelessClientConfig
source§impl Default for RuntimelessClientConfig
impl Default for RuntimelessClientConfig
source§fn default() -> RuntimelessClientConfig
fn default() -> RuntimelessClientConfig
Returns the “default value” for a type. Read more
impl Copy for RuntimelessClientConfig
Auto Trait Implementations§
impl Freeze for RuntimelessClientConfig
impl RefUnwindSafe for RuntimelessClientConfig
impl Send for RuntimelessClientConfig
impl Sync for RuntimelessClientConfig
impl Unpin for RuntimelessClientConfig
impl UnwindSafe for RuntimelessClientConfig
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)