Struct transact::protocol::command::CommandPayload
source · pub struct CommandPayload { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Debug for CommandPayload
impl Debug for CommandPayload
source§impl FromBytes<CommandPayload> for CommandPayload
impl FromBytes<CommandPayload> for CommandPayload
fn from_bytes(bytes: &[u8]) -> Result<CommandPayload, ProtoConversionError>
source§impl FromNative<CommandPayload> for CommandPayload
impl FromNative<CommandPayload> for CommandPayload
fn from_native(payload: CommandPayload) -> Result<Self, ProtoConversionError>
source§impl FromProto<CommandPayload> for CommandPayload
impl FromProto<CommandPayload> for CommandPayload
fn from_proto(payload: CommandPayload) -> Result<Self, ProtoConversionError>
source§impl IntoBytes for CommandPayload
impl IntoBytes for CommandPayload
fn into_bytes(self) -> Result<Vec<u8>, ProtoConversionError>
source§impl IntoNative<CommandPayload> for CommandPayload
impl IntoNative<CommandPayload> for CommandPayload
fn into_native(self) -> Result<T, ProtoConversionError>
source§impl IntoProto<CommandPayload> for CommandPayload
impl IntoProto<CommandPayload> for CommandPayload
fn into_proto(self) -> Result<T, ProtoConversionError>
Auto Trait Implementations§
impl RefUnwindSafe for CommandPayload
impl Send for CommandPayload
impl Sync for CommandPayload
impl Unpin for CommandPayload
impl UnwindSafe for CommandPayload
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more§impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
§fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given
ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more