Trait NsPayloadBytesRange

Source
pub trait NsPayloadBytesRange<'a> {
    type Output: FromNsPayloadBytes<'a>;

    // Required method
    fn ns_payload_range(&self) -> Range<usize>;
}
Expand description

Specifies a subslice of namespace payload bytes to read.

Companion trait for FromNsPayloadBytes, which holds data that can be deserialized from that subslice of bytes.

Required Associated Types§

Required Methods§

Source

fn ns_payload_range(&self) -> Range<usize>

Range relative to this ns payload

Implementors§