pub struct StationEndpointOptions {
pub host_advertised: Vec<String>,
pub alpn: String,
pub ttl_ms: u64,
}Expand description
A station endpoint’s optional fields: the hosts it is dialled at, left
out when none; its ALPN, left out when empty; ttl_ms, 0 for the default
and maximum, 5 minutes.
Fields§
§host_advertised: Vec<String>§alpn: String§ttl_ms: u64Trait Implementations§
Source§impl Clone for StationEndpointOptions
impl Clone for StationEndpointOptions
Source§impl Debug for StationEndpointOptions
impl Debug for StationEndpointOptions
Source§impl Default for StationEndpointOptions
impl Default for StationEndpointOptions
impl Eq for StationEndpointOptions
Source§impl PartialEq for StationEndpointOptions
impl PartialEq for StationEndpointOptions
impl StructuralPartialEq for StationEndpointOptions
Auto Trait Implementations§
impl Freeze for StationEndpointOptions
impl RefUnwindSafe for StationEndpointOptions
impl Send for StationEndpointOptions
impl Sync for StationEndpointOptions
impl Unpin for StationEndpointOptions
impl UnsafeUnpin for StationEndpointOptions
impl UnwindSafe for StationEndpointOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more