Struct mimir::EnqOptions [−][src]
pub struct EnqOptions { /* fields omitted */ }
Enqueue option handles are used to represent the options specified when enqueuing messages.
Methods
impl Options
[src]
impl Options
pub fn get_transformation(&self) -> Result<String>
[src]
pub fn get_transformation(&self) -> Result<String>
Returns the transformation of the message to be enqueued. See function
enqueue::Options::set_transformation()
for more information.
pub fn get_visibility(&self) -> Result<ODPIVisibility>
[src]
pub fn get_visibility(&self) -> Result<ODPIVisibility>
Returns whether the message being enqueued is part of the current transaction or constitutes a transaction on its own.
pub fn set_delivery_mode(&self, mode: ODPIMessageDeliveryMode) -> Result<()>
[src]
pub fn set_delivery_mode(&self, mode: ODPIMessageDeliveryMode) -> Result<()>
Sets the message delivery mode that is to be used when enqueuing messages.
pub fn set_transformation(&self, transformation: Option<&str>) -> Result<()>
[src]
pub fn set_transformation(&self, transformation: Option<&str>) -> Result<()>
Sets the transformation of the message to be enqueued. The transformation is applied after the message is enqueued but before it is returned to the application. It must be created using DBMS_TRANSFORM.
pub fn set_visibility(&self, visibility: ODPIVisibility) -> Result<()>
[src]
pub fn set_visibility(&self, visibility: ODPIVisibility) -> Result<()>
Sets whether the message being enqueued is part of the current transaction or constitutes a transaction on its own.
Trait Implementations
impl Clone for Options
[src]
impl Clone for Options
fn clone(&self) -> Options
[src]
fn clone(&self) -> Options
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl From<*mut ODPIEnqOptions> for Options
[src]
impl From<*mut ODPIEnqOptions> for Options
impl Drop for Options
[src]
impl Drop for Options
Auto Trait Implementations
impl !Send for EnqOptions
impl !Send for EnqOptions
impl !Sync for EnqOptions
impl !Sync for EnqOptions