pub enum Return {
Notify,
Value(&'static Desc),
Stream(&'static Desc),
}Expand description
What a method sends back.
Variants§
Notify
No return type: a fire-and-forget notification, with no response message.
Value(&'static Desc)
A single response.
Stream(&'static Desc)
A stream of items, each in its own message.
Auto Trait Implementations§
impl Freeze for Return
impl RefUnwindSafe for Return
impl Send for Return
impl Sync for Return
impl Unpin for Return
impl UnsafeUnpin for Return
impl UnwindSafe for Return
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