Struct rsocket_rust_messaging::RequestSpec [−][src]
pub struct RequestSpec { /* fields omitted */ }
Implementations
impl RequestSpec
[src]
impl RequestSpec
[src]pub fn metadata<T, M>(self, metadata: T, mime_type: M) -> Self where
T: Sized + Serialize + 'static,
M: Into<MimeType>,
[src]
T: Sized + Serialize + 'static,
M: Into<MimeType>,
pub fn metadata_raw<I, M>(self, metadata: I, mime_type: M) -> Self where
I: Into<Vec<u8>>,
M: Into<MimeType>,
[src]
I: Into<Vec<u8>>,
M: Into<MimeType>,
pub fn data<T>(self, data: T) -> Self where
T: Sized + Serialize + 'static,
[src]
T: Sized + Serialize + 'static,
pub fn data_raw<I>(self, data: I) -> Self where
I: Into<Vec<u8>>,
[src]
I: Into<Vec<u8>>,
pub async fn retrieve(self) -> Result<()>
[src]
pub async fn retrieve_mono(self) -> Unpacker
[src]
pub fn retrieve_flux(self) -> Unpackers
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RequestSpec
impl !Send for RequestSpec
impl !Sync for RequestSpec
impl Unpin for RequestSpec
impl !UnwindSafe for RequestSpec
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,