pub enum RpcMode {
Unary,
ServerStream,
ClientStream,
Bidi,
}Expand description
How the client communicates with the server.
Variants§
Trait Implementations§
impl Copy for RpcMode
impl Eq for RpcMode
impl StructuralPartialEq for RpcMode
Auto Trait Implementations§
impl Freeze for RpcMode
impl RefUnwindSafe for RpcMode
impl Send for RpcMode
impl Sync for RpcMode
impl Unpin for RpcMode
impl UnsafeUnpin for RpcMode
impl UnwindSafe for RpcMode
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