pub enum ArgumentDirection {
In,
Out,
InOut,
}
Expand description
The ArgumentDirection
defines the direction of an argument in a ClientServerOperation
Input arguments are used to pass data from the client to the server and are usualy passed by value. Output arguments are used to pass data from the server to the client and are usually passed by reference. In/Out arguments are used to pass data in both directions and are usually passed by reference.
Variants§
In
The argument is an input argument
Out
The argument is an output argument
InOut
The argument is an in/out argument
Trait Implementations§
Source§impl Clone for ArgumentDirection
impl Clone for ArgumentDirection
Source§fn clone(&self) -> ArgumentDirection
fn clone(&self) -> ArgumentDirection
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 ArgumentDirection
impl Debug for ArgumentDirection
Source§impl From<ArgumentDirection> for EnumItem
impl From<ArgumentDirection> for EnumItem
Source§fn from(direction: ArgumentDirection) -> Self
fn from(direction: ArgumentDirection) -> Self
Converts to this type from the input type.
Source§impl Hash for ArgumentDirection
impl Hash for ArgumentDirection
Source§impl PartialEq for ArgumentDirection
impl PartialEq for ArgumentDirection
Source§impl TryFrom<EnumItem> for ArgumentDirection
impl TryFrom<EnumItem> for ArgumentDirection
impl Copy for ArgumentDirection
impl Eq for ArgumentDirection
impl StructuralPartialEq for ArgumentDirection
Auto Trait Implementations§
impl Freeze for ArgumentDirection
impl RefUnwindSafe for ArgumentDirection
impl Send for ArgumentDirection
impl Sync for ArgumentDirection
impl Unpin for ArgumentDirection
impl UnwindSafe for ArgumentDirection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.