[−][src]Struct lockbook_core::service::file_encryption_service::FileEncryptionServiceImpl
Trait Implementations
impl<PK: PubKeyCryptoService, AES: SymmetricCryptoService> FileEncryptionService for FileEncryptionServiceImpl<PK, AES>
[src]
fn new_file(author: &Account) -> Result<EncryptedFile, FileCreationError>
[src]
fn write_to_file(
author: &Account,
file_before: &EncryptedFile,
content: &DecryptedValue
) -> Result<EncryptedFile, FileWriteError>
[src]
author: &Account,
file_before: &EncryptedFile,
content: &DecryptedValue
) -> Result<EncryptedFile, FileWriteError>
fn read_file(
account: &Account,
file: &EncryptedFile
) -> Result<DecryptedValue, UnableToReadFile>
[src]
account: &Account,
file: &EncryptedFile
) -> Result<DecryptedValue, UnableToReadFile>
Auto Trait Implementations
impl<PK, AES> RefUnwindSafe for FileEncryptionServiceImpl<PK, AES> where
AES: RefUnwindSafe,
PK: RefUnwindSafe,
AES: RefUnwindSafe,
PK: RefUnwindSafe,
impl<PK, AES> Send for FileEncryptionServiceImpl<PK, AES> where
AES: Send,
PK: Send,
AES: Send,
PK: Send,
impl<PK, AES> Sync for FileEncryptionServiceImpl<PK, AES> where
AES: Sync,
PK: Sync,
AES: Sync,
PK: Sync,
impl<PK, AES> Unpin for FileEncryptionServiceImpl<PK, AES> where
AES: Unpin,
PK: Unpin,
AES: Unpin,
PK: Unpin,
impl<PK, AES> UnwindSafe for FileEncryptionServiceImpl<PK, AES> where
AES: UnwindSafe,
PK: UnwindSafe,
AES: UnwindSafe,
PK: UnwindSafe,
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,