pub struct AsynchronousBackendMessage(/* private fields */);Expand description
Validated backend traffic which does not advance the current protocol phase.
Implementations§
Source§impl AsynchronousBackendMessage
impl AsynchronousBackendMessage
Sourcepub const fn as_wire(&self) -> &BackendMessage
pub const fn as_wire(&self) -> &BackendMessage
Borrows the decoded asynchronous backend message.
Sourcepub fn into_wire(self) -> BackendMessage
pub fn into_wire(self) -> BackendMessage
Returns the decoded asynchronous backend message.
Trait Implementations§
Source§impl TryFrom<BackendMessage> for AsynchronousBackendMessage
impl TryFrom<BackendMessage> for AsynchronousBackendMessage
Source§type Error = BackendMessage
type Error = BackendMessage
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !Freeze for AsynchronousBackendMessage
impl RefUnwindSafe for AsynchronousBackendMessage
impl Send for AsynchronousBackendMessage
impl Sync for AsynchronousBackendMessage
impl Unpin for AsynchronousBackendMessage
impl UnsafeUnpin for AsynchronousBackendMessage
impl UnwindSafe for AsynchronousBackendMessage
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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