pub enum ProcedureRes {
Close,
Response(Value),
}Expand description
Procedure result used by ServiceHandler
Variants§
Close
The procedure is just closing the connection
This is used by stream/subscription
Response(Value)
The procedure is sending a response message
This is used by rpc/upload
Auto Trait Implementations§
impl Freeze for ProcedureRes
impl RefUnwindSafe for ProcedureRes
impl Send for ProcedureRes
impl Sync for ProcedureRes
impl Unpin for ProcedureRes
impl UnsafeUnpin for ProcedureRes
impl UnwindSafe for ProcedureRes
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