pub struct ServerReply { /* private fields */ }Expand description
The reply a servant writes: the return value and the out and inout
arguments, in order, or a user exception.
Implementations§
Source§impl ServerReply
impl ServerReply
Sourcepub fn output(&mut self) -> OutStream<'_>
pub fn output(&mut self) -> OutStream<'_>
The stream for the result. Each call continues where the last one stopped.
Sourcepub fn user_exception(
&mut self,
repository_id: &str,
) -> Result<OutStream<'_>, SystemException>
pub fn user_exception( &mut self, repository_id: &str, ) -> Result<OutStream<'_>, SystemException>
Replaces the reply with the user exception repository_id, and
returns the stream its members are written to.
Sourcepub fn status(&self) -> ReplyStatus
pub fn status(&self) -> ReplyStatus
The status the reply has so far.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServerReply
impl RefUnwindSafe for ServerReply
impl Send for ServerReply
impl Sync for ServerReply
impl Unpin for ServerReply
impl UnsafeUnpin for ServerReply
impl UnwindSafe for ServerReply
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