[][src]Struct rsocket_rust_messaging::RequesterBuilder

pub struct RequesterBuilder { /* fields omitted */ }

Implementations

impl RequesterBuilder[src]

pub fn data_mime_type<I>(self, mime_type: I) -> Self where
    I: Into<MimeType>, 
[src]

pub fn setup_route<I>(self, route: I) -> Self where
    I: Into<String>, 
[src]

pub fn setup_data<D>(self, data: D) -> Self where
    D: Sized + Serialize + 'static, 
[src]

pub fn setup_metadata<M, T>(self, metadata: M, mime_type: T) -> Self where
    M: Sized + Serialize + 'static,
    T: Into<MimeType>, 
[src]

pub fn connect_tcp<A>(self, host: A, port: u16) -> Self where
    A: Into<String>, 
[src]

pub fn connect_websocket<I>(self, url: I) -> Self where
    I: Into<String>, 
[src]

pub async fn build(self) -> Result<Requester, Box<dyn Error + Send + Sync>>[src]

Trait Implementations

impl Default for RequesterBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,