Struct nakadion::consumer::ConnectAbortOnAuthError [−][src]
pub struct ConnectAbortOnAuthError(_);
Expand description
If true
abort the consumer when an auth error occurs while connecting to a stream.
In some environments it can be good retry on auth errors since it it might take some time for auth to be set up correctly
The default is false
which means no abort occurs on auth errors.
Implementations
The default name of the environment variable for this type. The name of the environment variable is “ CONNECT_ABORT_ON_AUTH_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 “NAKADION_
CONNECT_ABORT_ON_AUTH_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 “prefix
_
CONNECT_ABORT_ON_AUTH_ERROR
“
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 “
CONNECT_ABORT_ON_AUTH_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 “NAKADION_ CONNECT_ABORT_ON_AUTH_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 “prefix
_
CONNECT_ABORT_ON_AUTH_ERROR
“
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 “ CONNECT_ABORT_ON_AUTH_ERROR “
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “NAKADION_
CONNECT_ABORT_ON_AUTH_ERROR
“
Initialize from the environment.
Returns None
if the value could not be read for any reason.
The name of the environment variable is “prefix
_
CONNECT_ABORT_ON_AUTH_ERROR
“
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 “
CONNECT_ABORT_ON_AUTH_ERROR
“
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
Performs the conversion.
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 ConnectAbortOnAuthError
impl Send for ConnectAbortOnAuthError
impl Sync for ConnectAbortOnAuthError
impl Unpin for ConnectAbortOnAuthError
impl UnwindSafe for ConnectAbortOnAuthError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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