Struct windows::Security::EnterpriseData::FileProtectionManager
pub struct FileProtectionManager;
Implementations§
§impl FileProtectionManager
impl FileProtectionManager
pub fn ProtectAsync<P0>(
target: P0,
identity: &HSTRING,
) -> Result<IAsyncOperation<FileProtectionInfo>>where
P0: Param<IStorageItem>,
pub fn CopyProtectionAsync<P0, P1>(
source: P0,
target: P1,
) -> Result<IAsyncOperation<bool>>where
P0: Param<IStorageItem>,
P1: Param<IStorageItem>,
pub fn GetProtectionInfoAsync<P0>(
source: P0,
) -> Result<IAsyncOperation<FileProtectionInfo>>where
P0: Param<IStorageItem>,
pub fn SaveFileAsContainerAsync<P0>(
protectedfile: P0,
) -> Result<IAsyncOperation<ProtectedContainerExportResult>>where
P0: Param<IStorageFile>,
pub fn LoadFileFromContainerAsync<P0>(
containerfile: P0,
) -> Result<IAsyncOperation<ProtectedContainerImportResult>>where
P0: Param<IStorageFile>,
pub fn LoadFileFromContainerWithTargetAsync<P0, P1>(
containerfile: P0,
target: P1,
) -> Result<IAsyncOperation<ProtectedContainerImportResult>>where
P0: Param<IStorageFile>,
P1: Param<IStorageItem>,
pub fn CreateProtectedAndOpenAsync<P0>(
parentfolder: P0,
desiredname: &HSTRING,
identity: &HSTRING,
collisionoption: CreationCollisionOption,
) -> Result<IAsyncOperation<ProtectedFileCreateResult>>where
P0: Param<IStorageFolder>,
pub fn IsContainerAsync<P0>(file: P0) -> Result<IAsyncOperation<bool>>where
P0: Param<IStorageFile>,
pub fn LoadFileFromContainerWithTargetAndNameCollisionOptionAsync<P0, P1>(
containerfile: P0,
target: P1,
collisionoption: NameCollisionOption,
) -> Result<IAsyncOperation<ProtectedContainerImportResult>>where
P0: Param<IStorageFile>,
P1: Param<IStorageItem>,
pub fn SaveFileAsContainerWithSharingAsync<P0, P1>(
protectedfile: P0,
sharedwithidentities: P1,
) -> Result<IAsyncOperation<ProtectedContainerExportResult>>where
P0: Param<IStorageFile>,
P1: Param<IIterable<HSTRING>>,
pub fn UnprotectAsync<P0>(
target: P0,
) -> Result<IAsyncOperation<FileProtectionInfo>>where
P0: Param<IStorageItem>,
pub fn UnprotectWithOptionsAsync<P0, P1>(
target: P0,
options: P1,
) -> Result<IAsyncOperation<FileProtectionInfo>>where
P0: Param<IStorageItem>,
P1: Param<FileUnprotectOptions>,
Auto Trait Implementations§
impl Freeze for FileProtectionManager
impl RefUnwindSafe for FileProtectionManager
impl Send for FileProtectionManager
impl Sync for FileProtectionManager
impl Unpin for FileProtectionManager
impl UnwindSafe for FileProtectionManager
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