#[repr(transparent)]pub struct Unknown(pub Vec<u8>);
Expand description
draft-ietf-dnsop-svcb-https-03 SVCB and HTTPS RRs for DNS, February 2021
Unrecognized keys are represented in presentation format as
"keyNNNNN" where NNNNN is the numeric value of the key type without
leading zeros. A SvcParam in this form SHALL be parsed as specified
above, and the decoded "value" SHALL be used as its wire format
encoding.
For some SvcParamKeys, the "value" corresponds to a list or set of
items. Presentation formats for such keys SHOULD use a comma-
separated list (Appendix A.1).
SvcParams in presentation format MAY appear in any order, but keys
MUST NOT be repeated.
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
source§impl<'r> BinDecodable<'r> for Unknown
impl<'r> BinDecodable<'r> for Unknown
source§fn read(decoder: &mut BinDecoder<'r>) -> ProtoResult<Self>
fn read(decoder: &mut BinDecoder<'r>) -> ProtoResult<Self>
Read the type from the stream
source§fn from_bytes(bytes: &'r [u8]) -> ProtoResult<Self>
fn from_bytes(bytes: &'r [u8]) -> ProtoResult<Self>
Returns the object in binary form
source§impl BinEncodable for Unknown
impl BinEncodable for Unknown
source§fn emit(&self, encoder: &mut BinEncoder<'_>) -> ProtoResult<()>
fn emit(&self, encoder: &mut BinEncoder<'_>) -> ProtoResult<()>
Write the type to the stream
source§impl PartialEq for Unknown
impl PartialEq for Unknown
impl Eq for Unknown
impl StructuralPartialEq for Unknown
Auto Trait Implementations§
impl Freeze for Unknown
impl RefUnwindSafe for Unknown
impl Send for Unknown
impl Sync for Unknown
impl Unpin for Unknown
impl UnwindSafe for Unknown
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)