pub struct ArgPos { /* private fields */ }Expand description
Position record for one non-key argument or response token.
§Examples
use dynomite::msg::keypos::ArgPos;
let arg = ArgPos::new(b"value".to_vec());
assert_eq!(arg.bytes(), b"value");Implementations§
Trait Implementations§
impl Eq for ArgPos
impl StructuralPartialEq for ArgPos
Auto Trait Implementations§
impl Freeze for ArgPos
impl RefUnwindSafe for ArgPos
impl Send for ArgPos
impl Sync for ArgPos
impl Unpin for ArgPos
impl UnsafeUnpin for ArgPos
impl UnwindSafe for ArgPos
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§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.