[][src]Struct rsocket_rust::frame::SetupBuilder

pub struct SetupBuilder { /* fields omitted */ }

Methods

impl SetupBuilder[src]

pub fn build(self) -> Frame[src]

pub fn set_data(self, bs: Bytes) -> Self[src]

pub fn set_metadata(self, bs: Bytes) -> Self[src]

pub fn set_version(self, major: u16, minor: u16) -> Self[src]

pub fn set_keepalive(self, duration: Duration) -> Self[src]

pub fn set_lifetime(self, duration: Duration) -> Self[src]

pub fn set_token(self, token: Bytes) -> Self[src]

pub fn set_mime_metadata(self, mime: &str) -> Self[src]

pub fn set_mime_data(self, mime: &str) -> Self[src]

Auto Trait Implementations

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T