#[non_exhaustive]pub enum Answer {
Result(Box<RawValue>),
Sent,
}Expand description
How a message the application started ended, when it ended well.
A CALL succeeds when the peer answers; a SEND when it is written, because Part 4
§4.2.4 forbids the peer from ever answering one.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Result(Box<RawValue>)
The peer’s CALLRESULT payload.
Sent
A SEND reached the wire. There is nothing further to wait for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Answer
impl Freeze for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnsafeUnpin for Answer
impl UnwindSafe for Answer
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