Struct rsocket_rust::ClientBuilder [−][src]
pub struct ClientBuilder<T, C> { /* fields omitted */ }
Implementations
impl<T, C> ClientBuilder<T, C> where
T: Send + Sync + Transport<Conn = C>,
C: Send + Sync + Connection,
[src]
impl<T, C> ClientBuilder<T, C> where
T: Send + Sync + Transport<Conn = C>,
C: Send + Sync + Connection,
[src]pub fn fragment(self, mtu: usize) -> Self
[src]
pub fn transport(self, transport: T) -> Self
[src]
pub fn setup(self, setup: Payload) -> Self
[src]
pub fn keepalive(
self,
tick_period: Duration,
ack_timeout: Duration,
missed_acks: u64
) -> Self
[src]
self,
tick_period: Duration,
ack_timeout: Duration,
missed_acks: u64
) -> Self
pub fn mime_type(
self,
metadata_mime_type: impl Into<String>,
data_mime_type: impl Into<String>
) -> Self
[src]
self,
metadata_mime_type: impl Into<String>,
data_mime_type: impl Into<String>
) -> Self
pub fn data_mime_type(self, mime_type: impl Into<String>) -> Self
[src]
pub fn metadata_mime_type(self, mime_type: impl Into<String>) -> Self
[src]
pub fn acceptor(self, acceptor: ClientResponder) -> Self
[src]
pub fn on_close(self, callback: Box<dyn FnMut() + Sync + Send>) -> Self
[src]
impl<T, C> ClientBuilder<T, C> where
T: Send + Sync + Transport<Conn = C> + 'static,
C: Send + Sync + Connection + 'static,
[src]
impl<T, C> ClientBuilder<T, C> where
T: Send + Sync + Transport<Conn = C> + 'static,
C: Send + Sync + Connection + 'static,
[src]Auto Trait Implementations
impl<T, C> !RefUnwindSafe for ClientBuilder<T, C>
impl<T, C> Send for ClientBuilder<T, C> where
C: Send,
T: Send,
C: Send,
T: Send,
impl<T, C> Sync for ClientBuilder<T, C> where
C: Sync,
T: Sync,
C: Sync,
T: Sync,
impl<T, C> Unpin for ClientBuilder<T, C> where
C: Unpin,
T: Unpin,
C: Unpin,
T: Unpin,