Struct Syncpoint

Source
pub struct Syncpoint<'connection, 'cb, L: Library<MQ: MQI>, H> { /* private fields */ }

Implementations§

Source§

impl<L: Library<MQ: MQI>, H> Syncpoint<'_, '_, L, H>

Source

pub fn commit(self) -> ResultComp<()>

Source

pub fn backout(self) -> ResultComp<()>

Methods from Deref<Target = QueueManagerShare<'cb, L, H>>§

Source

pub fn mq(&self) -> &MQFunctions<L>

Source

pub fn handle(&self) -> &ConnectionHandle

Source

pub fn stat_put(&self) -> ResultComp<AsyncPutStat>

Source

pub fn stat_reconnection(&self) -> ResultComp<ReconnectionStat>

Source

pub fn stat_reconnection_error(&self) -> ResultComp<ReconnectionErrorStat>

Source

pub fn put_message<'oo>( &self, open_options: impl OpenPutOption<'oo>, put_options: impl PutOption, message: &(impl PutMessage + ?Sized), ) -> ResultComp<()>

Source

pub fn put_message_with<'oo, R>( &self, open_options: impl OpenPutOption<'oo>, put_options: impl PutOption, message: &(impl PutMessage + ?Sized), ) -> ResultComp<R>
where R: PutAttr,

Trait Implementations§

Source§

impl<'cb, L: Library<MQ: MQI>, H> Deref for Syncpoint<'_, 'cb, L, H>

Source§

type Target = QueueManagerShare<'cb, L, H>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<L: Library<MQ: MQI>, H> Drop for Syncpoint<'_, '_, L, H>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<'connection, 'cb, L, H> Freeze for Syncpoint<'connection, 'cb, L, H>

§

impl<'connection, 'cb, L, H> RefUnwindSafe for Syncpoint<'connection, 'cb, L, H>

§

impl<'connection, 'cb, L, H> Send for Syncpoint<'connection, 'cb, L, H>
where L: Send, H: Send,

§

impl<'connection, 'cb, L, H> Sync for Syncpoint<'connection, 'cb, L, H>
where L: Sync, H: Sync,

§

impl<'connection, 'cb, L, H> Unpin for Syncpoint<'connection, 'cb, L, H>

§

impl<'connection, 'cb, L, H> !UnwindSafe for Syncpoint<'connection, 'cb, L, H>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.