pub struct ScanStartReq {
pub length_form: LengthForm,
}Expand description
ScanStartReq() (Table 16) — host → module: header-only.
Fields§
§length_form: LengthFormHow the length_field was coded on the wire: a non-minimal long form
(e.g. 82 00 09) is preserved so the object re-serializes
byte-for-byte; LengthForm::Minimal for a hand-built value.
Trait Implementations§
Source§impl Clone for ScanStartReq
impl Clone for ScanStartReq
impl Copy for ScanStartReq
Source§impl Debug for ScanStartReq
impl Debug for ScanStartReq
Source§impl Default for ScanStartReq
impl Default for ScanStartReq
impl Eq for ScanStartReq
Source§impl<'a> Parse<'a> for ScanStartReq
impl<'a> Parse<'a> for ScanStartReq
Source§impl PartialEq for ScanStartReq
impl PartialEq for ScanStartReq
Source§impl Serialize for ScanStartReq
Available on crate feature serde only.
impl Serialize for ScanStartReq
Available on crate feature
serde only.Source§impl Serialize for ScanStartReq
impl Serialize for ScanStartReq
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.Source§fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
fn serialize_into(&self, buf: &mut [u8]) -> Result<usize>
Write the serialised form into
buf. Returns the number of bytes
written (always equal to serialized_len()).Source§fn try_to_bytes(&self) -> Result<Vec<u8>, Self::Error>
fn try_to_bytes(&self) -> Result<Vec<u8>, Self::Error>
Allocate a
Vec and serialize into it, returning the serializer’s error instead of
panicking. This is the only
allocate-and-serialize entry point: there is deliberately no panicking
to_bytes (hand-built values, or values assembled from damaged wire data,
can violate a wire constraint, so the error must reach the caller).impl StructuralPartialEq for ScanStartReq
Auto Trait Implementations§
impl Forget for ScanStartReq
impl Freeze for ScanStartReq
impl Move for ScanStartReq
impl RefUnwindSafe for ScanStartReq
impl Send for ScanStartReq
impl Sync for ScanStartReq
impl Unpin for ScanStartReq
impl UnsafeUnpin for ScanStartReq
impl UnwindSafe for ScanStartReq
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