pub enum OperationType {
RequestResponse,
RequestFnF,
RequestStream,
RequestChannel,
}
Expand description
The types of RSocket operations supported by wasmRS.
Variants§
RequestResponse
A request-response operation.
RequestFnF
A fire-and-forget operation.
RequestStream
A request -> stream operation
RequestChannel
A stream -> stream operation
Trait Implementations§
Source§impl Clone for OperationType
impl Clone for OperationType
Source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OperationType
impl Debug for OperationType
Source§impl From<OperationType> for u8
impl From<OperationType> for u8
Source§fn from(op: OperationType) -> Self
fn from(op: OperationType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for OperationType
impl From<u8> for OperationType
impl Copy for OperationType
Auto Trait Implementations§
impl Freeze for OperationType
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
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