pub struct ResourceAssembly { /* private fields */ }Expand description
A consuming handoff. Authentication has already succeeded when encryption is used. No protocol actions are published until the receiver accepts the returned result.
Implementations§
Source§impl ResourceAssembly
impl ResourceAssembly
pub fn id(&self) -> &AssemblyId
Sourcepub fn input_capacity(&self) -> usize
pub fn input_capacity(&self) -> usize
Owned plaintext capacity retained while the attempt is queued.
Sourcepub fn max_output_size(&self) -> usize
pub fn max_output_size(&self) -> usize
Decoder output bound, independent of the advertised data size.
pub fn run(self, compressor: &dyn Compressor) -> AssemblyResult
Auto Trait Implementations§
impl Freeze for ResourceAssembly
impl RefUnwindSafe for ResourceAssembly
impl Send for ResourceAssembly
impl Sync for ResourceAssembly
impl Unpin for ResourceAssembly
impl UnsafeUnpin for ResourceAssembly
impl UnwindSafe for ResourceAssembly
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