pub struct ScanNextReq {
pub length_form: LengthForm,
}Expand description
ScanNextReq() (Table 17) — 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 ScanNextReq
impl Clone for ScanNextReq
impl Copy for ScanNextReq
Source§impl Debug for ScanNextReq
impl Debug for ScanNextReq
Source§impl Default for ScanNextReq
impl Default for ScanNextReq
impl Eq for ScanNextReq
Source§impl<'a> Parse<'a> for ScanNextReq
impl<'a> Parse<'a> for ScanNextReq
Source§impl PartialEq for ScanNextReq
impl PartialEq for ScanNextReq
Source§impl Serialize for ScanNextReq
Available on crate feature serde only.
impl Serialize for ScanNextReq
Available on crate feature
serde only.Source§impl Serialize for ScanNextReq
impl Serialize for ScanNextReq
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 ScanNextReq
Auto Trait Implementations§
impl Forget for ScanNextReq
impl Freeze for ScanNextReq
impl RefUnwindSafe for ScanNextReq
impl Send for ScanNextReq
impl Sync for ScanNextReq
impl Unpin for ScanNextReq
impl UnsafeUnpin for ScanNextReq
impl UnwindSafe for ScanNextReq
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