pub struct Reply<Params> { /* private fields */ }
Expand description
A successful method call reply.
Implementations§
Source§impl<Params> Reply<Params>
impl<Params> Reply<Params>
Sourcepub fn set_continues(self, continues: Option<bool>) -> Self
pub fn set_continues(self, continues: Option<bool>) -> Self
Set the continues flag.
Sourcepub fn parameters(&self) -> Option<&Params>
pub fn parameters(&self) -> Option<&Params>
The parameters of the reply.
Sourcepub fn into_parameters(self) -> Option<Params>
pub fn into_parameters(self) -> Option<Params>
Convert the reply into its parameters.
Trait Implementations§
Source§impl<'de, Params> Deserialize<'de> for Reply<Params>where
Params: Deserialize<'de>,
impl<'de, Params> Deserialize<'de> for Reply<Params>where
Params: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<Params> Freeze for Reply<Params>where
Params: Freeze,
impl<Params> RefUnwindSafe for Reply<Params>where
Params: RefUnwindSafe,
impl<Params> Send for Reply<Params>where
Params: Send,
impl<Params> Sync for Reply<Params>where
Params: Sync,
impl<Params> Unpin for Reply<Params>where
Params: Unpin,
impl<Params> UnwindSafe for Reply<Params>where
Params: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more