Struct DataProtectionManager
pub struct DataProtectionManager;
Implementations§
§impl DataProtectionManager
impl DataProtectionManager
pub fn ProtectAsync<P0>(
data: P0,
identity: &HSTRING,
) -> Result<IAsyncOperation<BufferProtectUnprotectResult>>where
P0: Param<IBuffer>,
pub fn UnprotectAsync<P0>(
data: P0,
) -> Result<IAsyncOperation<BufferProtectUnprotectResult>>where
P0: Param<IBuffer>,
pub fn ProtectStreamAsync<P0, P2>(
unprotectedstream: P0,
identity: &HSTRING,
protectedstream: P2,
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: Param<IInputStream>,
P2: Param<IOutputStream>,
pub fn UnprotectStreamAsync<P0, P1>(
protectedstream: P0,
unprotectedstream: P1,
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: Param<IInputStream>,
P1: Param<IOutputStream>,
pub fn GetProtectionInfoAsync<P0>(
protecteddata: P0,
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: Param<IBuffer>,
pub fn GetStreamProtectionInfoAsync<P0>(
protectedstream: P0,
) -> Result<IAsyncOperation<DataProtectionInfo>>where
P0: Param<IInputStream>,
Auto Trait Implementations§
impl Freeze for DataProtectionManager
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