pub struct PipeSecurityOptions {
pub inherit_handle: bool,
pub security_descriptor: Option<SecurityDescriptor>,
}Expand description
Security attributes used when creating or opening a pipe handle.
Fields§
§inherit_handle: boolWhether spawned child processes can inherit this handle.
security_descriptor: Option<SecurityDescriptor>Optional descriptor model used for ACL/owner semantics.
Implementations§
Source§impl PipeSecurityOptions
impl PipeSecurityOptions
Sourcepub fn inherit_handle(self, inherit_handle: bool) -> Self
pub fn inherit_handle(self, inherit_handle: bool) -> Self
Enable or disable handle inheritance.
Sourcepub fn security_descriptor(
self,
security_descriptor: SecurityDescriptor,
) -> Self
pub fn security_descriptor( self, security_descriptor: SecurityDescriptor, ) -> Self
Set a structured security descriptor model.
Trait Implementations§
Source§impl Clone for PipeSecurityOptions
impl Clone for PipeSecurityOptions
Source§fn clone(&self) -> PipeSecurityOptions
fn clone(&self) -> PipeSecurityOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 PipeSecurityOptions
impl Debug for PipeSecurityOptions
Auto Trait Implementations§
impl Freeze for PipeSecurityOptions
impl RefUnwindSafe for PipeSecurityOptions
impl Send for PipeSecurityOptions
impl Sync for PipeSecurityOptions
impl Unpin for PipeSecurityOptions
impl UnsafeUnpin for PipeSecurityOptions
impl UnwindSafe for PipeSecurityOptions
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