pub struct LockResponse(/* private fields */);Expand description
Response for Lock operation.
Implementations§
Source§impl LockResponse
impl LockResponse
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 LockResponse
impl Clone for LockResponse
Source§impl Debug for LockResponse
impl Debug for LockResponse
Auto Trait Implementations§
impl Freeze for LockResponse
impl RefUnwindSafe for LockResponse
impl Send for LockResponse
impl Sync for LockResponse
impl Unpin for LockResponse
impl UnsafeUnpin for LockResponse
impl UnwindSafe for LockResponse
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