pub enum Request<T: Transport> {
OneWay {
buffer: MessageBuffer<T>,
},
Transaction {
responder: Responder,
buffer: MessageBuffer<T>,
},
}
Expand description
A request sent to the server.
Variants§
OneWay
A one-way request which does not expect a response.
Fields
§
buffer: MessageBuffer<T>
The buffer containing the request.
Transaction
A transactional request which expects a response.
Fields
§
buffer: MessageBuffer<T>
The buffer containing the request.
Auto Trait Implementations§
impl<T> Freeze for Request<T>
impl<T> RefUnwindSafe for Request<T>
impl<T> Send for Request<T>
impl<T> Sync for Request<T>
impl<T> Unpin for Request<T>
impl<T> UnwindSafe for Request<T>
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