Struct LinkedMq

Source
pub struct LinkedMq;
Available on crate feature link_api only.
Expand description

Provides access to compile time linked MQI and MQAI functions

Trait Implementations§

Source§

impl Clone for LinkedMq

Source§

fn clone(&self) -> LinkedMq

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LinkedMq

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Exits for LinkedMq

Available on crate feature exits only.
Source§

unsafe fn MQXEP( &self, Hconfig: MQHCONFIG, ExitReason: MQLONG, Function: MQLONG, EntryPoint: PMQFUNC, ExitOpts: Option<&MQXEPO>, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Register Entry Point Read more
Source§

unsafe fn MQXCLWLN( &self, ExitParms: &mut MQWXP, CurrentRecord: MQPTR, NextOffset: MQLONG, NextRecord: &mut MQPTR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Cluster Workload Navigate Records Read more
Source§

unsafe fn MQXDX( &self, DataConvExitParms: &mut MQDXP, MsgDesc: PMQMD, InBufferLength: MQLONG, InBuffer: PMQVOID, OutBufferLength: MQLONG, OutBuffer: PMQVOID, )

Convert Message Data Read more
Source§

unsafe fn MQZEP( &self, Hconfig: MQHCONFIG, Function: MQLONG, EntryPoint: PMQFUNC, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add Component Entry Point Read more
Source§

impl Mqai for LinkedMq

Available on crate feature mqai only.
Source§

unsafe fn mqAddBag( &self, Bag: MQHBAG, Selector: MQLONG, ItemValue: MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add Nested Bag to Bag Read more
Source§

unsafe fn mqAddByteString( &self, Bag: MQHBAG, Selector: MQLONG, BufferLength: MQLONG, Buffer: PMQBYTE, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add Byte String to Bag Read more
Source§

unsafe fn mqAddByteStringFilter( &self, Bag: MQHBAG, Selector: MQLONG, BufferLength: MQLONG, Buffer: PMQBYTE, Operator: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add Byte String Filter to Bag Read more
Source§

unsafe fn mqAddInquiry( &self, Bag: MQHBAG, Selector: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add an Inquiry Item to Bag Read more
Source§

unsafe fn mqAddInteger( &self, Bag: MQHBAG, Selector: MQLONG, ItemValue: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add Integer to Bag Read more
Source§

unsafe fn mqAddInteger64( &self, Bag: MQHBAG, Selector: MQLONG, ItemValue: MQINT64, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add 64-bit Integer to Bag Read more
Source§

unsafe fn mqAddIntegerFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemValue: MQLONG, Operator: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add Integer Filter to Bag Read more
Source§

unsafe fn mqAddString( &self, Bag: MQHBAG, Selector: MQLONG, BufferLength: MQLONG, Buffer: PMQCHAR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add String to Bag Read more
Source§

unsafe fn mqAddStringFilter( &self, Bag: MQHBAG, Selector: MQLONG, BufferLength: MQLONG, Buffer: PMQCHAR, Operator: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Add String Filter to Bag Read more
Source§

unsafe fn mqBagToBuffer( &self, OptionsBag: MQHBAG, DataBag: MQHBAG, BufferLength: MQLONG, Buffer: PMQVOID, DataLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Convert Bag to PCF Read more
Source§

unsafe fn mqBufferToBag( &self, OptionsBag: MQHBAG, BufferLength: MQLONG, Buffer: PMQVOID, DataBag: MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Convert PCF to Bag Read more
Source§

unsafe fn mqClearBag( &self, Bag: MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Delete All Items in Bag Read more
Source§

unsafe fn mqCountItems( &self, Bag: MQHBAG, Selector: MQLONG, ItemCount: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Count Items in Bag Read more
Source§

unsafe fn mqCreateBag( &self, Options: MQLONG, Bag: &mut MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Create Bag Read more
Source§

unsafe fn mqDeleteBag( &self, Bag: &mut MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Delete Bag Read more
Source§

unsafe fn mqDeleteItem( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Delete Item in Bag Read more
Source§

unsafe fn mqExecute( &self, Hconn: MQHCONN, Command: MQLONG, OptionsBag: MQHBAG, AdminBag: MQHBAG, ResponseBag: MQHBAG, AdminQ: MQHOBJ, ResponseQ: MQHOBJ, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Send Admin Command and Receive Reponse Read more
Source§

unsafe fn mqGetBag( &self, Hconn: MQHCONN, Hobj: MQHOBJ, MsgDesc: PMQVOID, GetMsgOpts: &mut MQGMO, Bag: MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Receive PCF Message into Bag Read more
Source§

unsafe fn mqInquireBag( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: &mut MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Handle in Bag Read more
Source§

unsafe fn mqInquireByteString( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQBYTE, ByteStringLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Byte String in Bag Read more
Source§

unsafe fn mqInquireByteStringFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQBYTE, ByteStringLength: &mut MQLONG, Operator: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Byte String Filter in Bag Read more
Source§

unsafe fn mqInquireInteger( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Integer in Bag Read more
Source§

unsafe fn mqInquireInteger64( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: &mut MQINT64, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire 64-bit Integer in Bag Read more
Source§

unsafe fn mqInquireIntegerFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: &mut MQLONG, Operator: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Integer Filter in Bag Read more
Source§

unsafe fn mqInquireItemInfo( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, OutSelector: &mut MQLONG, ItemType: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Attributes of Item in Bag Read more
Source§

unsafe fn mqInquireString( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQCHAR, StringLength: &mut MQLONG, CodedCharSetId: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire String in Bag Read more
Source§

unsafe fn mqInquireStringFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQCHAR, StringLength: &mut MQLONG, CodedCharSetId: &mut MQLONG, Operator: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire String Filter in Bag Read more
Source§

unsafe fn mqPad( &self, String: PMQCHAR, BufferLength: MQLONG, Buffer: PMQCHAR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Pad Null-terminated String with Blanks Read more
Source§

unsafe fn mqPutBag( &self, Hconn: MQHCONN, Hobj: MQHOBJ, MsgDesc: PMQVOID, PutMsgOpts: &mut MQPMO, Bag: MQHBAG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Send Bag as PCF Message Read more
Source§

unsafe fn mqSetByteString( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQBYTE, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify Byte String in Bag Read more
Source§

unsafe fn mqSetByteStringFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQBYTE, Operator: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify Byte String Filter in Bag Read more
Source§

unsafe fn mqSetInteger( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify Integer in Bag Read more
Source§

unsafe fn mqSetInteger64( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: MQINT64, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify 64-bit Integer in Bag Read more
Source§

unsafe fn mqSetIntegerFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, ItemValue: MQLONG, Operator: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify Integer Filter in Bag Read more
Source§

unsafe fn mqSetString( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQCHAR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify String in Bag Read more
Source§

unsafe fn mqSetStringFilter( &self, Bag: MQHBAG, Selector: MQLONG, ItemIndex: MQLONG, BufferLength: MQLONG, Buffer: PMQCHAR, Operator: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Modify String Filter in Bag Read more
Source§

unsafe fn mqTrim( &self, BufferLength: MQLONG, Buffer: PMQCHAR, String: PMQCHAR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Replace Trailing Blanks with Null Character Read more
Source§

unsafe fn mqTruncateBag( &self, Bag: MQHBAG, ItemCount: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Delete Trailing Items in Bag Read more
Source§

impl Mqi for LinkedMq

Source§

unsafe fn MQBACK( &self, Hconn: MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Back Out Changes Read more
Source§

unsafe fn MQBEGIN( &self, Hconn: MQHCONN, BeginOptions: Option<&mut MQBO>, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Begin Unit of Work Read more
Source§

unsafe fn MQBUFMH( &self, Hconn: MQHCONN, Hmsg: MQHMSG, BufMsgHOpts: &MQBMHO, MsgDesc: PMQVOID, BufferLength: MQLONG, Buffer: PMQVOID, DataLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Buffer To Message Handle Read more
Source§

unsafe fn MQCB( &self, Hconn: MQHCONN, Operation: MQLONG, CallbackDesc: Option<&MQCBD>, Hobj: MQHOBJ, MsgDesc: PMQVOID, GetMsgOpts: Option<&MQGMO>, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Register Message consumer Read more
Source§

unsafe fn MQCLOSE( &self, Hconn: MQHCONN, Hobj: &mut MQHOBJ, Options: MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Close Object Read more
Source§

unsafe fn MQCMIT( &self, Hconn: MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Commit Changes Read more
Source§

unsafe fn MQCONN( &self, QMgrName: &MQCHAR48, Hconn: &mut MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Connect Queue Manager Read more
Source§

unsafe fn MQCONNX( &self, QMgrName: &MQCHAR48, ConnectOpts: &mut MQCNO, Hconn: &mut MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Connect Queue Manager (Extended) Read more
Source§

unsafe fn MQCRTMH( &self, Hconn: MQHCONN, CrtMsgHOpts: &MQCMHO, Hmsg: &mut MQHMSG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Create Message Handle Read more
Source§

unsafe fn MQCTL( &self, Hconn: MQHCONN, Operation: MQLONG, ControlOpts: &MQCTLO, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Control Consumer Read more
Source§

unsafe fn MQDISC( &self, Hconn: &mut MQHCONN, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Disconnect Queue Manager Read more
Source§

unsafe fn MQDLTMH( &self, Hconn: MQHCONN, Hmsg: &mut MQHMSG, DltMsgHOpts: &MQDMHO, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Delete Message Handle Read more
Source§

unsafe fn MQDLTMP( &self, Hconn: MQHCONN, Hmsg: MQHMSG, DltPropOpts: &MQDMPO, Name: &MQCHARV, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Delete Message Property Read more
Source§

unsafe fn MQGET( &self, Hconn: MQHCONN, Hobj: MQHOBJ, MsgDesc: PMQVOID, GetMsgOpts: &mut MQGMO, BufferLength: MQLONG, Buffer: PMQVOID, DataLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Get Message Read more
Source§

unsafe fn MQINQ( &self, Hconn: MQHCONN, Hobj: MQHOBJ, SelectorCount: MQLONG, Selectors: PMQLONG, IntAttrCount: MQLONG, IntAttrs: PMQLONG, CharAttrLength: MQLONG, CharAttrs: PMQCHAR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Object Attributes Read more
Source§

unsafe fn MQINQMP( &self, Hconn: MQHCONN, Hmsg: MQHMSG, InqPropOpts: &mut MQIMPO, Name: &MQCHARV, PropDesc: &mut MQPD, Type: &mut MQLONG, ValueLength: MQLONG, Value: PMQVOID, DataLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Inquire Message Property Read more
Source§

unsafe fn MQMHBUF( &self, Hconn: MQHCONN, Hmsg: MQHMSG, MsgHBufOpts: &MQMHBO, Name: &MQCHARV, MsgDesc: PMQVOID, BufferLength: MQLONG, Buffer: PMQVOID, DataLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Message Handle To Buffer Read more
Source§

unsafe fn MQOPEN( &self, Hconn: MQHCONN, ObjDesc: &mut MQOD, Options: MQLONG, Hobj: &mut MQHOBJ, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Open Object Read more
Source§

unsafe fn MQPUT( &self, Hconn: MQHCONN, Hobj: MQHOBJ, MsgDesc: PMQVOID, PutMsgOpts: &mut MQPMO, BufferLength: MQLONG, Buffer: PMQVOID, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Put Message Read more
Source§

unsafe fn MQPUT1( &self, Hconn: MQHCONN, ObjDesc: &mut MQOD, MsgDesc: PMQVOID, PutMsgOpts: &mut MQPMO, BufferLength: MQLONG, Buffer: PMQVOID, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Put One Message Read more
Source§

unsafe fn MQSET( &self, Hconn: MQHCONN, Hobj: MQHOBJ, SelectorCount: MQLONG, Selectors: PMQLONG, IntAttrCount: MQLONG, IntAttrs: PMQLONG, CharAttrLength: MQLONG, CharAttrs: PMQCHAR, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Set Object Attributes Read more
Source§

unsafe fn MQSETMP( &self, Hconn: MQHCONN, Hmsg: MQHMSG, SetPropOpts: &MQSMPO, Name: &MQCHARV, PropDesc: &mut MQPD, Type: MQLONG, ValueLength: MQLONG, Value: PMQVOID, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Set Message Property Read more
Source§

unsafe fn MQSTAT( &self, Hconn: MQHCONN, Type: MQLONG, Status: &mut MQSTS, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Get Status Information Read more
Source§

unsafe fn MQSUB( &self, Hconn: MQHCONN, SubDesc: &mut MQSD, Hobj: Option<&mut MQHOBJ>, Hsub: &mut MQHOBJ, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Subscribe to topic Read more
Source§

unsafe fn MQSUBRQ( &self, Hconn: MQHCONN, Hsub: MQHOBJ, Action: MQLONG, SubRqOpts: Option<&mut MQSRO>, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Subscription Request Read more
Source§

unsafe fn MQXCNVC( &self, Hconn: MQHCONN, Options: MQLONG, SourceCCSID: MQLONG, SourceLength: MQLONG, SourceBuffer: PMQCHAR, TargetCCSID: MQLONG, TargetLength: MQLONG, TargetBuffer: PMQCHAR, DataLength: &mut MQLONG, CompCode: &mut MQLONG, Reason: &mut MQLONG, )

Convert Characters Read more
Source§

impl Copy for LinkedMq

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.