Struct condow_rusoto::config::MaxBuffersFullDelayMs
source · [−]pub struct MaxBuffersFullDelayMs(_);
Expand description
Maximum time to wait for download buffers when all were full in ms
Implementations
sourceimpl MaxBuffersFullDelayMs
impl MaxBuffersFullDelayMs
pub fn new<T>(v: T) -> MaxBuffersFullDelayMs where
T: Into<u64>,
sourceimpl MaxBuffersFullDelayMs
impl MaxBuffersFullDelayMs
sourcepub fn into_inner(self) -> u64
pub fn into_inner(self) -> u64
Returns the inner representation
sourceimpl MaxBuffersFullDelayMs
impl MaxBuffersFullDelayMs
sourcepub const ENV_TYPE_NAME: &'static str = &"MAX_BUFFERS_FULL_DELAY_MS"
pub const ENV_TYPE_NAME: &'static str = &"MAX_BUFFERS_FULL_DELAY_MS"
The default name of the environment variable for this type.
The name of the environment variable is “ MAX_BUFFERS_FULL_DELAY_MS “
sourcepub fn try_from_env() -> Result<Option<MaxBuffersFullDelayMs>, Error>
pub fn try_from_env() -> Result<Option<MaxBuffersFullDelayMs>, Error>
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is “CONDOW_
MAX_BUFFERS_FULL_DELAY_MS
“
sourcepub fn try_from_env_prefixed<T>(
prefix: T
) -> Result<Option<MaxBuffersFullDelayMs>, Error> where
T: Into<String>,
pub fn try_from_env_prefixed<T>(
prefix: T
) -> Result<Option<MaxBuffersFullDelayMs>, Error> where
T: Into<String>,
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is “prefix
_
MAX_BUFFERS_FULL_DELAY_MS
“
The underscore and prefix will be omitted if prefix is empty.
sourcepub fn try_from_env_named<T>(
var_name: T
) -> Result<Option<MaxBuffersFullDelayMs>, Error> where
T: AsRef<str>,
pub fn try_from_env_named<T>(
var_name: T
) -> Result<Option<MaxBuffersFullDelayMs>, Error> where
T: AsRef<str>,
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is var_name
.
sourcepub fn try_from_env_type_name() -> Result<Option<MaxBuffersFullDelayMs>, Error>
pub fn try_from_env_type_name() -> Result<Option<MaxBuffersFullDelayMs>, Error>
Initialize from the environment.
Returns None
if the value was not found and fails if the value could not be parsed.
The name of the environment variable is “
MAX_BUFFERS_FULL_DELAY_MS
“
sourcepub fn from_env() -> Result<MaxBuffersFullDelayMs, Error>
pub fn from_env() -> Result<MaxBuffersFullDelayMs, Error>
Initialize from the environment. Fails if the value was not found or if the value could not be parsed. The name of the environment variable is “CONDOW_ MAX_BUFFERS_FULL_DELAY_MS “
sourcepub fn from_env_prefixed<T>(prefix: T) -> Result<MaxBuffersFullDelayMs, Error> where
T: Into<String>,
pub fn from_env_prefixed<T>(prefix: T) -> Result<MaxBuffersFullDelayMs, Error> where
T: Into<String>,
Initialize from the environment.
Fails if the value was not found or if the value could not be parsed.
The name of the environment variable is “prefix
_
MAX_BUFFERS_FULL_DELAY_MS
“
The underscore and prefix will be omitted if prefix is empty.
sourcepub fn from_env_named<T>(var_name: T) -> Result<MaxBuffersFullDelayMs, Error> where
T: AsRef<str>,
pub fn from_env_named<T>(var_name: T) -> Result<MaxBuffersFullDelayMs, Error> where
T: AsRef<str>,
Initialize from the environment.
Fails if the value was not found or if the value could not be parsed.
The name of the environment variable is var_name
.
sourcepub fn from_env_type_name() -> Result<MaxBuffersFullDelayMs, Error>
pub fn from_env_type_name() -> Result<MaxBuffersFullDelayMs, Error>
Initialize from the environment. Fails if the value was not found or if the value could not be parsed. The name of the environment variable is “ MAX_BUFFERS_FULL_DELAY_MS “
sourcepub fn from_env_opt() -> Option<MaxBuffersFullDelayMs>
pub fn from_env_opt() -> Option<MaxBuffersFullDelayMs>
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “CONDOW_
MAX_BUFFERS_FULL_DELAY_MS
“
sourcepub fn from_env_opt_prefixed<T>(prefix: T) -> Option<MaxBuffersFullDelayMs> where
T: Into<String>,
pub fn from_env_opt_prefixed<T>(prefix: T) -> Option<MaxBuffersFullDelayMs> where
T: Into<String>,
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “prefix
_
MAX_BUFFERS_FULL_DELAY_MS
“
The underscore and prefix will be omitted if prefix is empty.
sourcepub fn from_env_opt_named<T>(var_name: T) -> Option<MaxBuffersFullDelayMs> where
T: AsRef<str>,
pub fn from_env_opt_named<T>(var_name: T) -> Option<MaxBuffersFullDelayMs> where
T: AsRef<str>,
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is var_name
.
sourcepub fn from_env_opt_type_name() -> Option<MaxBuffersFullDelayMs>
pub fn from_env_opt_type_name() -> Option<MaxBuffersFullDelayMs>
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “
MAX_BUFFERS_FULL_DELAY_MS
“
Methods from Deref<Target = u64>
Trait Implementations
sourceimpl Clone for MaxBuffersFullDelayMs
impl Clone for MaxBuffersFullDelayMs
sourcefn clone(&self) -> MaxBuffersFullDelayMs
fn clone(&self) -> MaxBuffersFullDelayMs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MaxBuffersFullDelayMs
impl Debug for MaxBuffersFullDelayMs
sourceimpl Default for MaxBuffersFullDelayMs
impl Default for MaxBuffersFullDelayMs
sourcefn default() -> MaxBuffersFullDelayMs
fn default() -> MaxBuffersFullDelayMs
Returns the “default value” for a type. Read more
sourceimpl Deref for MaxBuffersFullDelayMs
impl Deref for MaxBuffersFullDelayMs
sourceimpl DerefMut for MaxBuffersFullDelayMs
impl DerefMut for MaxBuffersFullDelayMs
sourcefn deref_mut(&mut self) -> &mut <MaxBuffersFullDelayMs as Deref>::Target
fn deref_mut(&mut self) -> &mut <MaxBuffersFullDelayMs as Deref>::Target
Mutably dereferences the value.
sourceimpl Display for MaxBuffersFullDelayMs
impl Display for MaxBuffersFullDelayMs
sourceimpl From<MaxBuffersFullDelayMs> for u64
impl From<MaxBuffersFullDelayMs> for u64
sourcefn from(v: MaxBuffersFullDelayMs) -> u64
fn from(v: MaxBuffersFullDelayMs) -> u64
Converts to this type from the input type.
sourceimpl From<u64> for MaxBuffersFullDelayMs
impl From<u64> for MaxBuffersFullDelayMs
sourcefn from(v: u64) -> MaxBuffersFullDelayMs
fn from(v: u64) -> MaxBuffersFullDelayMs
Converts to this type from the input type.
sourceimpl FromStr for MaxBuffersFullDelayMs
impl FromStr for MaxBuffersFullDelayMs
sourceimpl PartialEq<MaxBuffersFullDelayMs> for MaxBuffersFullDelayMs
impl PartialEq<MaxBuffersFullDelayMs> for MaxBuffersFullDelayMs
sourcefn eq(&self, other: &MaxBuffersFullDelayMs) -> bool
fn eq(&self, other: &MaxBuffersFullDelayMs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MaxBuffersFullDelayMs) -> bool
fn ne(&self, other: &MaxBuffersFullDelayMs) -> bool
This method tests for !=
.
impl Copy for MaxBuffersFullDelayMs
impl Eq for MaxBuffersFullDelayMs
impl StructuralEq for MaxBuffersFullDelayMs
impl StructuralPartialEq for MaxBuffersFullDelayMs
Auto Trait Implementations
impl RefUnwindSafe for MaxBuffersFullDelayMs
impl Send for MaxBuffersFullDelayMs
impl Sync for MaxBuffersFullDelayMs
impl Unpin for MaxBuffersFullDelayMs
impl UnwindSafe for MaxBuffersFullDelayMs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more