[−][src]Struct rsocket_rust_messaging::RequesterBuilder
Implementations
impl RequesterBuilder
[src]
pub fn data_mime_type<I>(self, mime_type: I) -> Self where
I: Into<MimeType>,
[src]
I: Into<MimeType>,
pub fn setup_route<I>(self, route: I) -> Self where
I: Into<String>,
[src]
I: Into<String>,
pub fn setup_data<D>(self, data: D) -> Self where
D: Sized + Serialize + 'static,
[src]
D: Sized + Serialize + 'static,
pub fn setup_metadata<M, T>(self, metadata: M, mime_type: T) -> Self where
M: Sized + Serialize + 'static,
T: Into<MimeType>,
[src]
M: Sized + Serialize + 'static,
T: Into<MimeType>,
pub fn connect_tcp<A>(self, host: A, port: u16) -> Self where
A: Into<String>,
[src]
A: Into<String>,
pub fn connect_websocket<I>(self, url: I) -> Self where
I: Into<String>,
[src]
I: Into<String>,
pub async fn build(self) -> Result<Requester, Box<dyn Error + Send + Sync>>
[src]
Trait Implementations
impl Default for RequesterBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RequesterBuilder
impl !Send for RequesterBuilder
impl !Sync for RequesterBuilder
impl Unpin for RequesterBuilder
impl !UnwindSafe for RequesterBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,