mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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)]
|
#[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_";
|
pub(crate) const SERVER_NAME_DNS: &str = "_DNS Resolver Middleware_";
|
||||||
use net::NetIpAddr;
|
use net::NetIpAddr;
|
||||||
use rkyv::{Archive, Deserialize, Serialize};
|
use rkyv::{Archive, Deserialize, Serialize};
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ pub struct DateTime {
|
||||||
pub years: u8,
|
pub years: u8,
|
||||||
pub weekday: Weekday,
|
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_";
|
pub(crate) const SERVER_NAME_RTC: &str = "_Real time clock application server_";
|
||||||
|
|
||||||
#[derive(Debug, num_derive::FromPrimitive, num_derive::ToPrimitive)]
|
#[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
|
// republish this so we can decode the icmpv4 error codes
|
||||||
pub use smoltcp::wire::Icmpv4DstUnreachable;
|
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_";
|
pub(crate) const SERVER_NAME_NET: &str = "_Middleware Network Server_";
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub const AP_DICT_NAME: &'static str = "wlan.networks";
|
pub const AP_DICT_NAME: &'static str = "wlan.networks";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue