[−][src]Struct rsocket_rust::prelude::SetupPayload
Implementations
impl SetupPayload
[src]
pub fn builder() -> SetupPayloadBuilder
[src]
impl SetupPayload
[src]
pub fn metadata(&self) -> Option<&Bytes>
[src]
pub fn data(&self) -> Option<&Bytes>
[src]
pub fn split(self) -> (Option<Bytes>, Option<Bytes>)
[src]
pub fn keepalive_interval(&self) -> Duration
[src]
pub fn keepalive_lifetime(&self) -> Duration
[src]
pub fn metadata_mime_type(&self) -> Option<&str>
[src]
pub fn data_mime_type(&self) -> Option<&str>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetupPayload
[src]
impl Send for SetupPayload
[src]
impl Sync for SetupPayload
[src]
impl Unpin for SetupPayload
[src]
impl UnwindSafe for SetupPayload
[src]
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,
pub 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, 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.
pub 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>,