pub enum EsClientCreateError {
InvalidArgument = 1,
Internal = 2,
NotEntitled = 3,
NotPermited = 4,
NotPrivileged = 5,
TooManyClients = 6,
}
Expand description
Possible errors returned if EsClient::new() fails
Variants§
InvalidArgument = 1
Arguments to EsClient are invalid
Internal = 2
Internal Endpoint Security error
NotEntitled = 3
Executable isn’t signed with required entitlements
NotPermited = 4
Operation not permitted
NotPrivileged = 5
Executable didn’t run as root
TooManyClients = 6
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)>
Returns 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()
Auto Trait Implementations§
impl Freeze for EsClientCreateError
impl RefUnwindSafe for EsClientCreateError
impl Send for EsClientCreateError
impl Sync for EsClientCreateError
impl Unpin for EsClientCreateError
impl UnwindSafe for EsClientCreateError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more