#[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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)