pub struct IncomingEncryptedBso {
pub envelope: IncomingEnvelope,
/* private fields */
}
Fields§
§envelope: IncomingEnvelope
Implementations§
source§impl IncomingEncryptedBso
impl IncomingEncryptedBso
pub fn new(envelope: IncomingEnvelope, payload: EncryptedPayload) -> Self
sourcepub fn into_decrypted(self, key: &KeyBundle) -> Result<IncomingBso>
pub fn into_decrypted(self, key: &KeyBundle) -> Result<IncomingBso>
Decrypt a BSO, consuming it into a clear-text version.
Trait Implementations§
source§impl Debug for IncomingEncryptedBso
impl Debug for IncomingEncryptedBso
source§impl<'de> Deserialize<'de> for IncomingEncryptedBsowhere
EncryptedPayload: DeserializeOwned,
impl<'de> Deserialize<'de> for IncomingEncryptedBsowhere
EncryptedPayload: DeserializeOwned,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IncomingEncryptedBso
impl RefUnwindSafe for IncomingEncryptedBso
impl Send for IncomingEncryptedBso
impl Sync for IncomingEncryptedBso
impl Unpin for IncomingEncryptedBso
impl UnwindSafe for IncomingEncryptedBso
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more