pub enum EsClientCreateError {
InvalidArgument,
Internal,
NotEntitled,
NotPermited,
NotPrivileged,
TooManyClients,
}
Expand description
Possible errors returned if EsClient::new() fails
Variants§
InvalidArgument
Arguments to EsClient are invalid
Internal
Internal Endpoint Security error
NotEntitled
Executable isn’t signed with required entitlements
NotPermited
Operation not permitted
NotPrivileged
Executable didn’t run as root
TooManyClients
Too many clients are connected to Endpoint Security
Trait Implementations§
source§impl Debug for EsClientCreateError
impl Debug for EsClientCreateError
source§impl Display for EsClientCreateError
impl Display for EsClientCreateError
source§impl Error for EsClientCreateError
impl Error for EsClientCreateError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()