pub(crate) mod dispatch_sync;
#[cfg(feature = "tokio")]
pub(crate) mod dispatch_tokio;
pub(crate) mod name_type;
pub(crate) mod peer_creds;
pub use name_type::*;
use {
super::security_descriptor::SecurityDescriptor,
crate::{local_socket::ListenerOptions, Sealed},
};
#[allow(private_bounds)]
pub trait ListenerOptionsExt: Sized + Sealed {
#[must_use = builder_must_use!()]
fn security_descriptor(self, sd: SecurityDescriptor) -> Self;
}
impl ListenerOptionsExt for ListenerOptions<'_> {
#[inline(always)]
fn security_descriptor(mut self, sd: SecurityDescriptor) -> Self {
self.security_descriptor = Some(sd);
self
}
}