[−][src]Struct body_image_futio::FutioTunables
An additional set of tuning constants for asynchronous I/O, extending the
body-image Tunables
set.
Setters are available via FutioTuner
(a builder
type).
Methods
impl FutioTunables
[src]
pub fn new() -> FutioTunables
[src]
Construct with default values.
pub fn image(&self) -> &Tunables
[src]
Return the base (body-image) Tunables
.
Default: As per body-image crate defaults.
pub fn res_timeout(&self) -> Option<Duration>
[src]
Return the maximum initial response timeout interval. Default: None (e.g. unset)
pub fn body_timeout(&self) -> Option<Duration>
[src]
Return the maximum streaming body timeout interval. Default: 60 seconds
pub fn blocking_semaphore(&self) -> Option<&'static Semaphore>
[src]
Return a Semaphore
reference for use in constraining the number of
concurrent blocking operations.
Default: None
pub fn blocking_policy(&self) -> BlockingPolicy
[src]
Return the policy for any required blocking operations.
Default: BlockingPolicy::Direct
Trait Implementations
impl AsRef<Tunables> for FutioTunables
[src]
impl Clone for FutioTunables
[src]
fn clone(&self) -> FutioTunables
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FutioTunables
[src]
impl Default for FutioTunables
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FutioTunables
impl Send for FutioTunables
impl Sync for FutioTunables
impl Unpin for FutioTunables
impl !UnwindSafe for FutioTunables
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,