pub struct MethodPair {
pub request: RequestType,
pub reply: Option<ReplyType>,
}Expand description
Pair fuer eine Enhanced-Methode. Reply ist None bei oneway.
Fields§
§request: RequestTypeRequest-Wire-Struktur dieser Methode.
reply: Option<ReplyType>Reply-Wire-Struktur (None bei oneway-Methoden).
Trait Implementations§
Source§impl Clone for MethodPair
impl Clone for MethodPair
Source§fn clone(&self) -> MethodPair
fn clone(&self) -> MethodPair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MethodPair
impl Debug for MethodPair
Source§impl PartialEq for MethodPair
impl PartialEq for MethodPair
Source§fn eq(&self, other: &MethodPair) -> bool
fn eq(&self, other: &MethodPair) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MethodPair
Auto Trait Implementations§
impl Freeze for MethodPair
impl RefUnwindSafe for MethodPair
impl Send for MethodPair
impl Sync for MethodPair
impl Unpin for MethodPair
impl UnsafeUnpin for MethodPair
impl UnwindSafe for MethodPair
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