Struct nakadi_types::subscription::StreamTimeoutSecs [−][src]
pub struct StreamTimeoutSecs(_);
Expand description
Maximum time in seconds a stream will live before connection is closed by the server.
Implementations
The default name of the environment variable for this type. The name of the environment variable is “ STREAM_TIMEOUT_SECS “
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 “NAKADION_
STREAM_TIMEOUT_SECS
“
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
_
STREAM_TIMEOUT_SECS
“
The underscore and prefix will be omitted if prefix is empty.
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
.
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 “
STREAM_TIMEOUT_SECS
“
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 “NAKADION_ STREAM_TIMEOUT_SECS “
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
_
STREAM_TIMEOUT_SECS
“
The underscore and prefix will be omitted if prefix is empty.
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
.
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 “ STREAM_TIMEOUT_SECS “
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “NAKADION_
STREAM_TIMEOUT_SECS
“
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “prefix
_
STREAM_TIMEOUT_SECS
“
The underscore and prefix will be omitted if prefix is empty.
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
.
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “
STREAM_TIMEOUT_SECS
“
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StreamTimeoutSecs
impl Send for StreamTimeoutSecs
impl Sync for StreamTimeoutSecs
impl Unpin for StreamTimeoutSecs
impl UnwindSafe for StreamTimeoutSecs
Blanket Implementations
Mutably borrows from an owned value. Read more