Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`names`.`dns`.`UnknownRecord``

class documentation

`class UnknownRecord(tputil.FancyEqMixin, tputil.FancyStrMixin): (source)`

Constructor: `UnknownRecord(data, ttl)`

Implements interfaces: `twisted.names.dns.IEncodableRecord`

View In Hierarchy

Encapsulate the wire data for unknown record types so that they can pass through the system unchanged.

Present Since
11.1

Method | `__hash__` | Undocumented
Method | `__init__` | Undocumented
Method | `decode` | Load the bytes which are part of this record from the stream and store them unparsed and unmodified.
Method | `encode` | Write the raw bytes corresponding to this record's payload to the stream.
Constant | `TYPE` | An indicator of what kind of record this is.
Class Variable | `compareAttributes` | Undocumented
Class Variable | `fancybasename` | Undocumented
Class Variable | `showAttributes` | Undocumented
Instance Variable | `data` | Wire data which makes up this record.
Instance Variable | `ttl` | The maximum number of seconds which this record should be cached.

Inherited from `FancyEqMixin`:

Method | `__eq__` | Undocumented
Method | `__ne__` | Undocumented

Inherited from `FancyStrMixin` (via `FancyEqMixin`):

Method | `__str__` | Undocumented

def __hash__(self): (source)

Undocumented

def __init__(self, data=b'', ttl=None): (source)

Undocumented

def decode(self, strio, length=None): (source)
from `twisted.names.dns.IEncodable`

Load the bytes which are part of this record from the stream and store them unparsed and unmodified.

def encode(self, strio, compDict=None): (source)
from `twisted.names.dns.IEncodable`

Write the raw bytes corresponding to this record's payload to the stream.

TYPE = (source)
from `twisted.names.dns.IRecord`

An indicator of what kind of record this is.

Value

    None

compareAttributes: `tuple[str, ...]` = (source)
overrides `twisted.python.util.FancyEqMixin.compareAttributes`

Undocumented

fancybasename: `str` = (source)

Undocumented

showAttributes = (source)
overrides `twisted.python.util.FancyStrMixin.showAttributes`

Undocumented

data: `bytes` = (source)

Wire data which makes up this record.

ttl: `int` = (source)

The maximum number of seconds which this record should be cached.