pub struct CallReply { /* private fields */ }Expand description
The exact far wire answer, including its named refusal and correlation fields.
Implementations§
Source§impl CallReply
impl CallReply
Sourcepub fn new(id: u64, frame: Frame) -> Result<Self, CallError>
pub fn new(id: u64, frame: Frame) -> Result<Self, CallError>
Keeps the far connection’s answer byte-for-byte at the wire-frame level.
§Errors
A zero operation id or a frame that is not a conversation answer.
Sourcepub fn into_frame(self) -> Frame
pub fn into_frame(self) -> Frame
Releases the answer only after the near side checks the operation binding.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallReply
impl RefUnwindSafe for CallReply
impl Send for CallReply
impl Sync for CallReply
impl Unpin for CallReply
impl UnsafeUnpin for CallReply
impl UnwindSafe for CallReply
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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