pub struct ListenerOptions { /* private fields */ }Expand description
Cross-platform IPC listener configuration.
Implementations§
Source§impl ListenerOptions
impl ListenerOptions
Sourcepub const fn reclaim_name(self, reclaim_name: bool) -> Self
pub const fn reclaim_name(self, reclaim_name: bool) -> Self
Configure whether the endpoint name is removed when the listener drops.
Sourcepub const fn try_overwrite(self, try_overwrite: bool) -> Self
pub const fn try_overwrite(self, try_overwrite: bool) -> Self
Configure whether a proven-stale Unix socket may be replaced while binding.
Sourcepub const fn max_spin_time(self, max_spin_time: Duration) -> Self
pub const fn max_spin_time(self, max_spin_time: Duration) -> Self
Bound retry time for Unix stale-socket replacement contention.
Trait Implementations§
Source§impl Clone for ListenerOptions
impl Clone for ListenerOptions
Source§fn clone(&self) -> ListenerOptions
fn clone(&self) -> ListenerOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListenerOptions
impl Debug for ListenerOptions
Auto Trait Implementations§
impl Freeze for ListenerOptions
impl RefUnwindSafe for ListenerOptions
impl Send for ListenerOptions
impl Sync for ListenerOptions
impl Unpin for ListenerOptions
impl UnsafeUnpin for ListenerOptions
impl UnwindSafe for ListenerOptions
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