Skip to main content

Info

Struct Info 

Source
pub struct Info { /* private fields */ }
Expand description

Runtime information.

This structure can be used by the applications to get the configuration of the runtime: eXtremeDB version, data types and features supported, policies, capabilities, etc.

The methods of this structure correspond to the fields of the mco_runtime_info_t structure declared in mco.h. Refer to the eXtremeDB documentation for information on individual parameters.

§Examples

    let runtime = Runtime::start(vec![]);
    let caps = runtime.info();

    println!(
        "eXtremeDB version {}.{}.{}",
        caps.mco_version_major(),
        caps.mco_version_minor(),
        caps.mco_build_number()
    );

Implementations§

Source§

impl Info

Source

pub fn mco_version_major(&self) -> u8

Source

pub fn mco_version_minor(&self) -> u8

Source

pub fn mco_build_number(&self) -> u16

Source

pub fn mco_size_t(&self) -> usize

Source

pub fn mco_offs_t(&self) -> usize

Source

pub fn uint4_supported(&self) -> bool

Source

pub fn float_supported(&self) -> bool

Source

pub fn mco_checklevel(&self) -> u8

Source

pub fn evaluation_version(&self) -> bool

Source

pub fn large_database_supported(&self) -> bool

Source

pub fn collation_supported(&self) -> bool

Source

pub fn heap31_supported(&self) -> bool

Source

pub fn bin_serialization_supported(&self) -> bool

Source

pub fn fixedrec_supported(&self) -> bool

Source

pub fn statistics_supported(&self) -> bool

Source

pub fn events_supported(&self) -> bool

Source

pub fn save_load_supported(&self) -> bool

Source

pub fn object_initialization_supported(&self) -> bool

Source

pub fn direct_index_field_access_supported(&self) -> bool

Source

pub fn multiprocess_access_supported(&self) -> bool

Source

pub fn object_repack_supported(&self) -> bool

Source

pub fn transaction_logging_supported(&self) -> bool

Source

pub fn cluster_supported(&self) -> bool

Source

pub fn high_availability_supported(&self) -> bool

Source

pub fn iot_supported(&self) -> bool

Source

pub fn ha_multicast_supported(&self) -> bool

Source

pub fn ha_incremental_replication_supported(&self) -> bool

Source

pub fn binary_schema_evolution_supported(&self) -> bool

Source

pub fn unicode_supported(&self) -> bool

Source

pub fn wchar_supported(&self) -> bool

Source

pub fn recovery_supported(&self) -> bool

Source

pub fn disk_supported(&self) -> bool

Source

pub fn direct_pointers_supported(&self) -> bool

Source

pub fn persistent_object_supported(&self) -> bool

Source

pub fn xml_import_export_supported(&self) -> bool

Source

pub fn user_defined_index_supported(&self) -> bool

Source

pub fn multifile_supported(&self) -> bool

Source

pub fn multifile_descriptor_supported(&self) -> bool

Source

pub fn two_phase_commit_supported(&self) -> bool

Source

pub fn rtree_supported(&self) -> bool

Source

pub fn tree_based_hash(&self) -> bool

Source

pub fn tmgr_mvcc_async_cleanup(&self) -> bool

Source

pub fn concurent_disk_btree(&self) -> bool

Source

pub fn open_cursor_goto_first(&self) -> bool

Source

pub fn smart_index_insert(&self) -> bool

Source

pub fn btree_leaf_lock(&self) -> bool

Source

pub fn null_statistics(&self) -> bool

Source

pub fn implicit_runtime_start(&self) -> bool

Source

pub fn bufferized_sync_iostream(&self) -> bool

Source

pub fn async_replication(&self) -> bool

Source

pub fn fast_transaction_list(&self) -> bool

Source

pub fn extendable_dirty_page_bitmap(&self) -> bool

Source

pub fn mursiw_policy(&self) -> u8

Source

pub fn sync_capabilities(&self) -> u8

Source

pub fn char_comparison_policy(&self) -> u8

Source

pub fn stream_buffer_size(&self) -> usize

Source

pub fn max_db_instances(&self) -> usize

Source

pub fn max_db_name_length(&self) -> usize

Source

pub fn max_extends(&self) -> isize

Source

pub fn tl_page_buffer_size(&self) -> usize

Source

pub fn ha_max_replicas(&self) -> usize

Source

pub fn ha_transmit_buffer_size(&self) -> usize

Source

pub fn ha_syncronization_buffer_size(&self) -> usize

Source

pub fn default_redo_log_limit(&self) -> usize

Source

pub fn mvcc_critical_sections(&self) -> usize

Source

pub fn mvcc_per_index_locks(&self) -> usize

Source

pub fn con_disk_page_cache_size(&self) -> usize

Source

pub fn small_con_cache_threshold(&self) -> usize

Source

pub fn extendable_dirty_page_bitmap_limit(&self) -> usize

Source

pub fn max_vista_sessions(&self) -> usize

Source

pub fn concurrent_write_transactions(&self) -> bool

Source

pub fn encryption_support(&self) -> bool

Source

pub fn backup_support(&self) -> bool

Source

pub fn mco_revision(&self) -> &'static str

Auto Trait Implementations§

§

impl Freeze for Info

§

impl RefUnwindSafe for Info

§

impl !Send for Info

§

impl !Sync for Info

§

impl Unpin for Info

§

impl UnsafeUnpin for Info

§

impl UnwindSafe for Info

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<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.