pub struct ShadowLayer<'a> {
pub message: &'a str,
pub passphrase: &'a str,
pub files: &'a [FileEntry],
}Expand description
One shadow layer’s input — message + passphrase + optional file attachments. The encoder takes a slice of these (size-descending for primary-vs-shadow ordering by message size).
Fields§
§message: &'a str§passphrase: &'a str§files: &'a [FileEntry]Auto Trait Implementations§
impl<'a> Freeze for ShadowLayer<'a>
impl<'a> RefUnwindSafe for ShadowLayer<'a>
impl<'a> Send for ShadowLayer<'a>
impl<'a> Sync for ShadowLayer<'a>
impl<'a> Unpin for ShadowLayer<'a>
impl<'a> UnsafeUnpin for ShadowLayer<'a>
impl<'a> UnwindSafe for ShadowLayer<'a>
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