pub enum WireParam {
Null,
Int(i64),
Float(f64),
Bool(bool),
Str(String),
}Expand description
A positional parameter value carried by Message::QueryWithParams.
Wire encoding per param: a 1-byte tag followed by the body —
0 null (no body), 1 int (8B LE i64), 2 float (8B LE f64),
3 bool (1B), 4 str (length-prefixed UTF-8).
Variants§
Trait Implementations§
impl StructuralPartialEq for WireParam
Auto Trait Implementations§
impl Freeze for WireParam
impl RefUnwindSafe for WireParam
impl Send for WireParam
impl Sync for WireParam
impl Unpin for WireParam
impl UnsafeUnpin for WireParam
impl UnwindSafe for WireParam
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