#[repr(u8)]pub enum BindingDirection {
Args = 0,
Response = 1,
}Expand description
Whether a method schema binding describes args or the response type.
Variants§
Args = 0
The sender will send data of this type as method arguments.
Response = 1
The sender will send data of this type as the method response.
Trait Implementations§
Source§impl Clone for BindingDirection
impl Clone for BindingDirection
Source§fn clone(&self) -> BindingDirection
fn clone(&self) -> BindingDirection
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 BindingDirection
impl Debug for BindingDirection
Source§impl<'ʄ> Facet<'ʄ> for BindingDirection
impl<'ʄ> Facet<'ʄ> for BindingDirection
Source§impl Hash for BindingDirection
impl Hash for BindingDirection
Source§impl PartialEq for BindingDirection
impl PartialEq for BindingDirection
impl Copy for BindingDirection
impl Eq for BindingDirection
impl StructuralPartialEq for BindingDirection
Auto Trait Implementations§
impl Freeze for BindingDirection
impl RefUnwindSafe for BindingDirection
impl Send for BindingDirection
impl Sync for BindingDirection
impl Unpin for BindingDirection
impl UnsafeUnpin for BindingDirection
impl UnwindSafe for BindingDirection
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.