mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add notes around names that are baked into libstd
This commit is contained in:
parent
2cc8a1b24a
commit
b4c98528e8
3 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#[allow(dead_code)]
|
||||
// note: this name cannot be changed, because it is baked into `libstd`
|
||||
pub(crate) const SERVER_NAME_DNS: &str = "_DNS Resolver Middleware_";
|
||||
use net::NetIpAddr;
|
||||
use rkyv::{Archive, Deserialize, Serialize};
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ pub struct DateTime {
|
|||
pub years: u8,
|
||||
pub weekday: Weekday,
|
||||
}
|
||||
|
||||
// note: this name cannot be changed, because it is baked into `libstd`
|
||||
pub(crate) const SERVER_NAME_RTC: &str = "_Real time clock application server_";
|
||||
|
||||
#[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)]
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};
|
|||
// republish this so we can decode the icmpv4 error codes
|
||||
pub use smoltcp::wire::Icmpv4DstUnreachable;
|
||||
|
||||
// note: this name cannot be changed, because it is baked into `libstd`
|
||||
pub(crate) const SERVER_NAME_NET: &str = "_Middleware Network Server_";
|
||||
#[allow(dead_code)]
|
||||
pub const AP_DICT_NAME: &'static str = "wlan.networks";
|
||||
|
|
|
|||
Loading…
Reference in a new issue