Struct tarantool::net_box::Options [−][src]
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,