pub struct UnlockResponse(/* private fields */);Expand description
Response for Unlock operation.
Implementations§
Source§impl UnlockResponse
impl UnlockResponse
Sourcepub fn header(&self) -> Option<&ResponseHeader>
pub fn header(&self) -> Option<&ResponseHeader>
Get response header.
Sourcepub fn take_header(&mut self) -> Option<ResponseHeader>
pub fn take_header(&mut self) -> Option<ResponseHeader>
Takes the header out of the response, leaving a None in its place.
Trait Implementations§
Source§impl Clone for UnlockResponse
impl Clone for UnlockResponse
Source§impl Debug for UnlockResponse
impl Debug for UnlockResponse
Auto Trait Implementations§
impl Freeze for UnlockResponse
impl RefUnwindSafe for UnlockResponse
impl Send for UnlockResponse
impl Sync for UnlockResponse
impl Unpin for UnlockResponse
impl UnsafeUnpin for UnlockResponse
impl UnwindSafe for UnlockResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request