pub struct ProtectedRequest { /* private fields */ }Expand description
A request envelope and the one-use capability needed to open its response.
Implementations§
Source§impl ProtectedRequest
impl ProtectedRequest
Sourcepub fn into_parts(self) -> (Vec<u8>, ResponseToken)
pub fn into_parts(self) -> (Vec<u8>, ResponseToken)
Split the envelope from its one-use response token.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtectedRequest
impl RefUnwindSafe for ProtectedRequest
impl Send for ProtectedRequest
impl Sync for ProtectedRequest
impl Unpin for ProtectedRequest
impl UnsafeUnpin for ProtectedRequest
impl UnwindSafe for ProtectedRequest
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