Enum nakadion::publisher::PublishTimeoutMillis [−][src]
pub enum PublishTimeoutMillis {
Infinite,
Millis(u64),
}
Expand description
The timeout for a complete publishing of events to Nakadi including retries
Variants
Millis(u64)
Tuple Fields of Millis
0: u64
Implementations
The default name of the environment variable for this type. The name of the environment variable is “ PUBLISH_TIMEOUT_MILLIS “
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_
PUBLISH_TIMEOUT_MILLIS
“
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
_
PUBLISH_TIMEOUT_MILLIS
“
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 “
PUBLISH_TIMEOUT_MILLIS
“
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_ PUBLISH_TIMEOUT_MILLIS “
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
_
PUBLISH_TIMEOUT_MILLIS
“
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 “ PUBLISH_TIMEOUT_MILLIS “
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “NAKADION_
PUBLISH_TIMEOUT_MILLIS
“
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “prefix
_
PUBLISH_TIMEOUT_MILLIS
“
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 “
PUBLISH_TIMEOUT_MILLIS
“
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PublishTimeoutMillis
impl Send for PublishTimeoutMillis
impl Sync for PublishTimeoutMillis
impl Unpin for PublishTimeoutMillis
impl UnwindSafe for PublishTimeoutMillis
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more