pub struct SessionTransportInitiatorBuilder<'a, L> { /* private fields */ }Implementations§
Source§impl<'a, L> SessionTransportInitiatorBuilder<'a, L>
impl<'a, L> SessionTransportInitiatorBuilder<'a, L>
pub fn parity(self, parity: Parity) -> Self
pub fn root_settings(self, settings: ConnectionSettings) -> Self
pub fn max_concurrent_requests(self, max_concurrent_requests: u32) -> Self
pub fn metadata(self, metadata: Metadata<'a>) -> Self
pub fn on_connection(self, acceptor: impl ConnectionAcceptor) -> Self
pub fn keepalive(self, keepalive: SessionKeepaliveConfig) -> Self
pub fn resumable(self) -> Self
pub fn operation_store(self, operation_store: Arc<dyn OperationStore>) -> Self
pub fn spawn_fn(self, f: impl FnOnce(BoxSessionFuture) + Send + 'static) -> Self
pub async fn establish<Client: From<DriverCaller>>( self, handler: impl Handler<DriverReplySink> + 'static, ) -> Result<(Client, SessionHandle), SessionError>
Auto Trait Implementations§
impl<'a, L> Freeze for SessionTransportInitiatorBuilder<'a, L>where
L: Freeze,
impl<'a, L> !RefUnwindSafe for SessionTransportInitiatorBuilder<'a, L>
impl<'a, L> Send for SessionTransportInitiatorBuilder<'a, L>where
L: Send,
impl<'a, L> !Sync for SessionTransportInitiatorBuilder<'a, L>
impl<'a, L> Unpin for SessionTransportInitiatorBuilder<'a, L>where
L: Unpin,
impl<'a, L> UnsafeUnpin for SessionTransportInitiatorBuilder<'a, L>where
L: UnsafeUnpin,
impl<'a, L> !UnwindSafe for SessionTransportInitiatorBuilder<'a, L>
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