Struct windows::Security::EnterpriseData::DataProtectionManager
pub struct DataProtectionManager;
Implementations§
§impl DataProtectionManager
impl DataProtectionManager
pub fn ProtectAsync<P0>(
data: P0,
identity: &HSTRING
) -> Result<IAsyncOperation<BufferProtectUnprotectResult>>where
P0: IntoParam<IBuffer>,
pub fn UnprotectAsync<P0>(
data: P0
) -> Result<IAsyncOperation<BufferProtectUnprotectResult>>where
P0: IntoParam<IBuffer>,
pub fn ProtectStreamAsync<P0, P1>(
unprotectedstream: P0,
identity: &HSTRING,
protectedstream: P1
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: IntoParam<IInputStream>,
P1: IntoParam<IOutputStream>,
pub fn UnprotectStreamAsync<P0, P1>(
protectedstream: P0,
unprotectedstream: P1
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: IntoParam<IInputStream>,
P1: IntoParam<IOutputStream>,
pub fn GetProtectionInfoAsync<P0>(
protecteddata: P0
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: IntoParam<IBuffer>,
pub fn GetStreamProtectionInfoAsync<P0>(
protectedstream: P0
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: IntoParam<IInputStream>,
Auto Trait Implementations§
impl RefUnwindSafe for DataProtectionManager
impl Send for DataProtectionManager
impl Sync for DataProtectionManager
impl Unpin for DataProtectionManager
impl UnwindSafe for DataProtectionManager
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