Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/domain
/ functions
Functions
3,926 in github.com/NLnetLabs/domain
⨍
Functions
3,926
◇
Types & classes
732
Method
new
(expire: Option<u32>)
src/base/opt/expire.rs:40
Method
new
Creates a new value from a code and optional text. Returns an error if `text` is present but is too long to fit into an option.
src/base/opt/exterr.rs:76
Method
new
Creates new CHAIN option data using the given name as the start.
src/base/opt/chain.rs:45
Method
new
Create a connected client socket. Creates a new connection to the server. Receives `client_tx` which it should use to send messages to the server.
src/stelline/channel.rs:100
Method
new
()
src/stelline/simple_dgram_client.rs:49
Method
new
(stelline: Stelline, step_value: Arc<CurrStepValue>)
src/stelline/dgram.rs:29
Method
new
( stelline: Stelline, step_value: Arc<CurrStepValue>, )
src/stelline/connection.rs:28
Method
new
( stelline: Stelline, step_value: Arc<CurrStepValue>, )
src/stelline/connect.rs:18
Method
new
( client: impl SendRequest<RequestMessage<Vec<u8>>> + 'static, )
src/stelline/client.rs:318
Method
new
Creates a new key from its components. This function can be used to import a key from some kind of serialized form. The algorithm, key bits, and name
src/tsig/mod.rs:143
Method
new
Create new TCP connections. addr is the destination address to connect to.
src/net/client/protocol.rs:46
Method
new
Creates a new multi-stream transport with default configuration.
src/net/client/multi_stream.rs:117
Method
new
Creates a new, default config.
src/net/client/stream.rs:93
Method
new
Create a new ConnConfig object.
src/net/client/load_balancer.rs:231
Method
new
Creates a new config with default values. The default values are documented at the relevant set_* methods.
src/net/client/validator.rs:137
Method
new
Create a new RequestMessage object.
src/net/client/request.rs:217
Method
new
Creates a new config with default values.
src/net/client/dgram.rs:81
Method
new
Create a new connection.
src/net/client/redundant.rs:121
Method
new
Create a new tsig transport. After creating the transport call `send_request` via the [`SendRequest`] or [`SendRequestMulti`] traits to send signed m
src/net/client/tsig.rs:159
Method
new
Creates a new config with default values.
src/net/client/dgram_stream.rs:36
Method
new
Creates a new config with default values. The default values are documented at the relevant set_* methods.
src/net/client/cache.rs:251
Method
new
( processor: &'a mut RecordProcessor, resp: &'b Message<Bytes>, )
src/net/xfr/protocol/iterator.rs:30
Method
new
Creates a new XFR message processor.
src/net/xfr/protocol/interpreter.rs:51
Method
new
Create a new [SingleServiceToService] object.
src/net/server/adapter.rs:59
Method
new
Creates a new instance for building responses to the given request. Delegates certain parts of the task to the callbacks supplied via generic type `C
src/net/server/batcher.rs:187
Method
new
Creates a new, default config.
src/net/server/stream.rs:93
Method
new
Creates a new, default config.
src/net/server/dgram.rs:104
Method
new
(response: AdditionalBuilder<StreamTarget<Target>>)
src/net/server/service.rs:321
Method
new
Creates a new, default config.
src/net/server/connection.rs:127
Method
new
Create a new empty router.
src/net/server/qname_router.rs:44
Method
new
Creates a new UDP specific transport context.
src/net/server/message.rs:34
Method
new
(next_svc: NextSvc)
src/net/server/middleware/edns.rs:79
Method
new
(next_svc: NextSvc, notify_target: N)
src/net/server/middleware/notify.rs:119
Method
new
Creates a new post-processing stream. The created post-processing stream will resolve the given `Service::Future` to its `Service::Stream` type and t
src/net/server/middleware/stream.rs:219
Method
new
(next_svc: NextSvc)
src/net/server/middleware/mandatory.rs:74
Method
new
(next_svc: NextSvc, key_store: KS)
src/net/server/middleware/tsig.rs:102
Method
new
(next_svc: NextSvc, server_secret: [u8; 16])
src/net/server/middleware/cookies.rs:88
Method
new
( req_msg: Arc<Message<RequestOctets>>, sender: UnboundedSender<ServiceResult<Target>>,
src/net/server/middleware/xfr/batcher.rs:210
Method
new
( read: Box<dyn ReadableZone>, qname: StoredName, zone_soa_rrset: SharedRrset,
src/net/server/middleware/xfr/axfr.rs:24
Method
new
( msg: Arc<Message<RequestOctets>>, zone_soa_answer: Answer, batcher_rx: Receiver<(Nam
src/net/server/middleware/xfr/responder.rs:40
Method
new
( next_svc: NextSvc, xfr_data_provider: XDP, max_concurrency: usize, )
src/net/server/middleware/xfr/service.rs:110
Method
new
( qname: StoredName, zone_soa_rrset: SharedRrset, diffs: Vec<Diff>, batcher_tx
src/net/server/middleware/xfr/ixfr.rs:25
Method
new
(zone: Zone, diffs: Vec<InMemoryZoneDiff>)
src/net/server/middleware/xfr/tests.rs:804
Method
new
( zone: Zone, diffs: Vec<Diff>, backward_compatible: bool, )
src/net/server/middleware/xfr/data_provider.rs:57
Method
new
( messages_to_read: VecDeque<Vec<u8>>, new_message_every: Duration, disconnect_with_pe
src/net/server/tests/unit.rs:58
Method
new
( answer: &Message<[u8]>, fallback_name: impl ToName, fallback_port: u16, )
src/resolv/lookup/srv.rs:162
Method
new
( aaaa: Result<R::Answer, io::Error>, a: Result<R::Answer, io::Error>, )
src/resolv/lookup/host.rs:79
Method
new
Returns a new default server config for a given address and transport. The function sets default values as described in the field descriptions above.
src/resolv/stub/conf.rs:261
Method
new
Creates a new resolver using the system’s default configuration.
src/resolv/stub/mod.rs:89
Method
new
Creates a new, empty value.
src/zonefile/inplace.rs:96
Method
new
( name: S, algorithm: S, secret: V, )
tests/common/nsd.rs:132
Method
new
(zones: Arc<ZoneTree>)
examples/serve-zone.rs:339
Method
new
(a: TcpListener, b: TcpListener)
examples/server-transports.rs:303
Method
new
(db_pool: sqlx::MySqlPool, apex_name: StoredName)
examples/other/mysql-zone.rs:199
Method
new_apex
( zone: WriteZone, create_diff: bool, )
src/zonetree/in_memory/write.rs:408
Method
new_bytes
Creates a new, empty TXT builder using `BytesMut`.
src/rdata/rfc1035/txt.rs:712
Method
new_bytes
Creates a new message builder atop a bytes value.
src/base/message_builder.rs:222
Method
new_bytes
Creates a new empty builder for a bytes value.
src/base/charstr.rs:778
Method
new_bytes
Creates an empty domain name bulider atop a bytes value.
src/base/name/builder.rs:116
Function
new_cookie
()
src/base/opt/cookie.rs:701
Method
new_delegation
Create a new delegation node.
src/dnssec/validator/context.rs:1685
Method
new_dgram
()
src/stelline/channel.rs:211
Method
new_from_owned
Create new Rrset from a slice of owned records. All records in an RRset are required to have the same TTL. # Panic This function panics if the reco
src/dnssec/sign/records.rs:495
Method
new_from_refs
Create new Rrset from a slice of references. All records in an RRset are required to have the same TTL. # Panic This function panics if the records
src/dnssec/sign/records.rs:471
Method
new_from_value_and_response
Create a value object that is derived from another value object.
src/net/client/cache.rs:902
Method
new_hex
()
src/utils/base32.rs:241
Method
new_in
Creates a new question from a name and record type, assuming class IN.
src/base/question.rs:59
Method
new_in_place
Create an input suitable for signing a zone in-place.
src/dnssec/sign/mod.rs:221
Method
new_intermediate
Create a new intermediate node.
src/dnssec/validator/context.rs:1704
Method
new_into
Create an input suitable for signing a read-only zone. Records generated by signing should be written into the provided separate collection.
src/dnssec/sign/mod.rs:229
Method
new_multi
Create a new Request object.
src/net/client/tsig.rs:298
Method
new_random
()
src/base/opt/cookie.rs:312
Method
new_ref
Creates a reference to CHAIN option data from a reference to the start.
src/base/opt/chain.rs:53
Function
new_secret
()
src/base/opt/cookie.rs:798
Method
new_stream
()
src/stelline/channel.rs:218
Method
new_stream_bytes
Creates a new streamable message builder atop a bytes value.
src/base/message_builder.rs:230
Method
new_stream_vec
()
src/base/message_builder.rs:214
Method
new_uncertain
Creates a chain from an uncertain name. This function is separate because the ultimate size depends on the variant of the left name.
src/base/name/chain.rs:61
Method
new_unchecked
Creates new TSIG record data without checking. # Safety The caller needs to ensure that the wire format length of the created record will not exceed
src/rdata/tsig.rs:143
Method
new_unchecked
Creates new DNSKEY record data without checking. # Safety The caller needs to ensure that wire format representation of the record data is at most 6
src/rdata/dnssec.rs:102
Method
new_unchecked
Creates new CDNSKEY record data without checking. # Safety The caller needs to ensure that wire format representation of the record data is at most
src/rdata/cds.rs:84
Method
new_unchecked
Creates a new SVCB parameter value without checking. # Safety The caller needs to make sure that `value` is not longer than 65,535 octets.
src/rdata/svcb/params.rs:686
Method
new_unchecked
Creates a new value from its components without checking. # Safety The called must ensure that the wire format of the record data does not exceed a
src/rdata/svcb/rdata.rs:159
Method
new_unchecked
Creates a new option data value without checking. # Safety The caller needs to make sure that `data` is not longer than 65,535 octets.
src/base/opt/mod.rs:947
Method
new_unchecked
Creates a new value without checking for the option length. # Safety The caller must ensure that the length of the wire format of the value does not
src/base/opt/exterr.rs:110
Method
new_vec
()
src/rdata/dnssec.rs:2485
Method
new_vec
()
src/base/message_builder.rs:205
Method
new_vec
()
src/base/charstr.rs:764
Method
new_vec
()
src/base/name/builder.rs:99
Method
new_with_str
( code: ExtendedErrorCode, text: &str, )
src/base/opt/exterr.rs:91
Method
next
(&mut self)
src/rdata/rfc1035/txt.rs:658
Method
next
(&mut self)
src/base/charstr.rs:890
Method
next
(&mut self)
src/base/name/chain.rs:268
Method
next
(&mut self)
src/base/opt/algsig.rs:560
Method
next
(&mut self)
src/base/opt/keytag.rs:374
Method
next
(&mut self)
src/resolv/lookup/addr.rs:85
Method
next
(&mut self)
src/resolv/lookup/host.rs:221
Method
next
(&mut self)
src/zonefile/inplace.rs:251
Method
next_back
(&mut self)
src/base/name/parsed.rs:601
Method
no_data
()
src/zonetree/in_memory/read.rs:357
← previous
next →
2,901–3,000 of 3,926, ranked by callers