[−][src]Struct nt_native::NewHandle
Fields
access: Access
attributes: Attribute
security_descriptor: Option<SecurityDescriptor>
root: Option<Handle>
allocation_size: u64
file_attributes: FileAttribute
create_disposition: CreateDisposition
options: Options
ea: Vec<u8>
Methods
impl NewHandle
[src]
pub fn with_cd(create_disposition: CreateDisposition) -> Self
[src]
pub fn create_new(name: &NtString) -> Result<Handle>
[src]
pub fn open(name: &NtString) -> Result<Handle>
[src]
pub fn open_readonly(name: &NtString) -> Result<Handle>
[src]
pub fn open_or_create(name: &NtString) -> Result<(Handle, bool)>
[src]
pub fn owerwrite(name: &NtString) -> Result<Handle>
[src]
pub fn owerwrite_or_create(name: &NtString) -> Result<(Handle, bool)>
[src]
pub fn build(self, dos_name: &NtString) -> Result<(Handle, bool)>
[src]
pub fn build_nt(self, nt_name: &impl ToUnicodeString) -> Result<(Handle, bool)>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NewHandle
impl !Send for NewHandle
impl !Sync for NewHandle
impl Unpin for NewHandle
impl UnwindSafe for NewHandle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,