pub struct UnixSocketBindOptions {
pub stale_socket_policy: StaleSocketPolicy,
pub mode: Option<u32>,
}Expand description
Bind options for a Unix stream listener.
Fields§
§stale_socket_policy: StaleSocketPolicyExplicit stale pathname handling for filesystem socket binds.
mode: Option<u32>Optional filesystem socket path mode applied after a successful bind.
Trait Implementations§
Source§impl Clone for UnixSocketBindOptions
impl Clone for UnixSocketBindOptions
Source§fn clone(&self) -> UnixSocketBindOptions
fn clone(&self) -> UnixSocketBindOptions
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 moreimpl Copy for UnixSocketBindOptions
Source§impl Debug for UnixSocketBindOptions
impl Debug for UnixSocketBindOptions
Source§impl Default for UnixSocketBindOptions
impl Default for UnixSocketBindOptions
Source§fn default() -> UnixSocketBindOptions
fn default() -> UnixSocketBindOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnixSocketBindOptions
impl RefUnwindSafe for UnixSocketBindOptions
impl Send for UnixSocketBindOptions
impl Sync for UnixSocketBindOptions
impl Unpin for UnixSocketBindOptions
impl UnsafeUnpin for UnixSocketBindOptions
impl UnwindSafe for UnixSocketBindOptions
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