mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[PR #96] [MERGED] Rename client getter and setter methods #1239
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#1239
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/96
Author: @inejge
Created: 2/27/2017
Status: ✅ Merged
Merged: 2/27/2017
Merged by: @bluejekyll
Base:
master← Head:rename-getter-setter📝 Commits (10+)
c3b651cRefactor trust_dns::op::Messagef847e6eRefactor trust_dns::op::Headercbc25e3Refactor trust_dns::op::Edns52516faRefactor trust_dns::op::Query4db94baRefactor trust_dns::rr::dnssec::Signera61765eRefactor trust_dns::rr::rdata::DNSKEYd760b83Refactor trust_dns::rr::rdata::DS3da0149Refactor trust_dns::rr::rdata::MX10f8ce4Refactor trust_dns::rr::rdata::NSECb04818aRefactor trust_dns::rr::rdata::NSEC3📊 Changes
37 files changed (+1747 additions, -1747 deletions)
View changed files
📝
client/src/client/client_future.rs(+66 -66)📝
client/src/client/memoize_client_handle.rs(+8 -8)📝
client/src/client/retry_client_handle.rs(+2 -2)📝
client/src/client/secure_client_handle.rs(+66 -66)📝
client/src/op/edns.rs(+27 -27)📝
client/src/op/header.rs(+28 -28)📝
client/src/op/message.rs(+145 -145)📝
client/src/op/query.rs(+6 -6)📝
client/src/rr/dnssec/signer.rs(+94 -94)📝
client/src/rr/rdata/dnskey.rs(+10 -10)📝
client/src/rr/rdata/ds.rs(+10 -10)📝
client/src/rr/rdata/mx.rs(+4 -4)📝
client/src/rr/rdata/nsec.rs(+4 -4)📝
client/src/rr/rdata/nsec3.rs(+14 -14)📝
client/src/rr/rdata/nsec3param.rs(+9 -9)📝
client/src/rr/rdata/null.rs(+2 -2)📝
client/src/rr/rdata/opt.rs(+2 -2)📝
client/src/rr/rdata/sig.rs(+18 -18)📝
client/src/rr/rdata/soa.rs(+7 -7)📝
client/src/rr/rdata/srv.rs(+8 -8)...and 17 more files
📄 Description
Rename public getters/setters in the client code to conform to RFC#344. In summary:
fn foo(&mut self, ...)renamed tofn set_foo(&mut self, ...);fn get_foo(&self)renamed tofn foo(&self);fn is_foo(&self)renamed tofn foo(&self)where appropriate, i.e., where the underlying property is namedfoo.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.