pub struct BareConduitTx<F: MsgFamily, LTx: LinkTx> { /* private fields */ }Trait Implementations§
Source§impl<F: MsgFamily, LTx: LinkTx + MaybeSend + 'static> ConduitTx for BareConduitTx<F, LTx>
impl<F: MsgFamily, LTx: LinkTx + MaybeSend + 'static> ConduitTx for BareConduitTx<F, LTx>
type Msg = F
type Prepared = Vec<u8>
type Error = BareConduitError
Source§fn prepare_send(&self, item: F::Msg<'_>) -> Result<Self::Prepared, Self::Error>
fn prepare_send(&self, item: F::Msg<'_>) -> Result<Self::Prepared, Self::Error>
Serialize one outbound message into an owned representation.
Auto Trait Implementations§
impl<F, LTx> Freeze for BareConduitTx<F, LTx>where
LTx: Freeze,
impl<F, LTx> RefUnwindSafe for BareConduitTx<F, LTx>where
LTx: RefUnwindSafe,
impl<F, LTx> Send for BareConduitTx<F, LTx>
impl<F, LTx> Sync for BareConduitTx<F, LTx>
impl<F, LTx> Unpin for BareConduitTx<F, LTx>where
LTx: Unpin,
impl<F, LTx> UnsafeUnpin for BareConduitTx<F, LTx>where
LTx: UnsafeUnpin,
impl<F, LTx> UnwindSafe for BareConduitTx<F, LTx>where
LTx: UnwindSafe,
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