pub struct HandoffPeer {
pub uid: Option<u32>,
pub pid: Option<u32>,
}Expand description
Whom recv_listeners accepts listeners from. uid: None means this
process’s own effective user id; pid: None accepts any process of that user.
let only_parent = net_io::HandoffPeer { uid: None, pid: Some(1234) };Fields§
§uid: Option<u32>The sender’s user id (None: ours).
pid: Option<u32>The sender’s process id (None: any).
Trait Implementations§
Source§impl Clone for HandoffPeer
impl Clone for HandoffPeer
impl Copy for HandoffPeer
Source§impl Debug for HandoffPeer
impl Debug for HandoffPeer
Source§impl Default for HandoffPeer
impl Default for HandoffPeer
impl Eq for HandoffPeer
Source§impl PartialEq for HandoffPeer
impl PartialEq for HandoffPeer
impl StructuralPartialEq for HandoffPeer
Auto Trait Implementations§
impl Freeze for HandoffPeer
impl RefUnwindSafe for HandoffPeer
impl Send for HandoffPeer
impl Sync for HandoffPeer
impl Unpin for HandoffPeer
impl UnsafeUnpin for HandoffPeer
impl UnwindSafe for HandoffPeer
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