pub enum IocLogError {
NoServerConfigured,
NoRestartThread,
}Expand description
Why ioc_log_init declined. C returns a bare iocLogError (-1) for
both; naming them keeps the caller from having to re-read stderr to find
out which happened.
Variants§
NoServerConfigured
EPICS_IOC_LOG_INET / EPICS_IOC_LOG_PORT do not name a log server.
NoRestartThread
The reconnection thread could not be created.
Trait Implementations§
Source§impl Clone for IocLogError
impl Clone for IocLogError
impl Copy for IocLogError
Source§impl Debug for IocLogError
impl Debug for IocLogError
Source§impl Display for IocLogError
impl Display for IocLogError
impl Eq for IocLogError
Source§impl Error for IocLogError
impl Error for IocLogError
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()
Source§impl PartialEq for IocLogError
impl PartialEq for IocLogError
impl StructuralPartialEq for IocLogError
Auto Trait Implementations§
impl Freeze for IocLogError
impl RefUnwindSafe for IocLogError
impl Send for IocLogError
impl Sync for IocLogError
impl Unpin for IocLogError
impl UnsafeUnpin for IocLogError
impl UnwindSafe for IocLogError
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