Struct tarantool::net_box::Options[][src]

pub struct Options {
    pub timeout: Option<Duration>,
    pub offset: u32,
    pub limit: Option<u32>,
}

Most Conn methods allows to pass an options argument

Some options are applicable only to some methods (will be ignored otherwise).

Which can be:

Fields

timeout: Option<Duration>

For example, a method whose options argument is {timeout: Some(Duration::from_secs_f32(1.5)}) will stop after 1.5 seconds on the local node, although this does not guarantee that execution will stop on the remote server node.

offset: u32

The offset option specifies the number of rows to skip before starting to return rows from the query.

Can be used with select() method. Default: 0

limit: Option<u32>

The limit option specifies the number of rows to return after the offset option has been processed.

Can be used with select() method. Treats as unlimited if None specified. Default: None

Trait Implementations

impl Clone for Options[src]

impl Default for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.