pub enum SecurityTarget {
FilePath(String),
RegistryPath(String),
Detached,
}Expand description
Resource target represented by a security descriptor.
Variants§
FilePath(String)
File or directory path.
RegistryPath(String)
Registry key path.
Detached
In-memory descriptor with no external binding.
Trait Implementations§
Source§impl Clone for SecurityTarget
impl Clone for SecurityTarget
Source§fn clone(&self) -> SecurityTarget
fn clone(&self) -> SecurityTarget
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 SecurityTarget
impl Debug for SecurityTarget
Source§impl PartialEq for SecurityTarget
impl PartialEq for SecurityTarget
impl Eq for SecurityTarget
impl StructuralPartialEq for SecurityTarget
Auto Trait Implementations§
impl Freeze for SecurityTarget
impl RefUnwindSafe for SecurityTarget
impl Send for SecurityTarget
impl Sync for SecurityTarget
impl Unpin for SecurityTarget
impl UnsafeUnpin for SecurityTarget
impl UnwindSafe for SecurityTarget
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