pub enum PipeLoggerBuilderError {
RotateFileSizeTooSmall,
CountTooSmall,
IOError(Error),
FileIsDirectory(PathBuf),
}Variants
RotateFileSizeTooSmall
A valid rotated file size needs bigger than 1.
CountTooSmall
A valid count of log files needs bigger than 0.
IOError(Error)
std::io::Error.
FileIsDirectory(PathBuf)
A log file cannot be a directory. Wrap the absolutized log file.
Trait Implementations
sourceimpl Debug for PipeLoggerBuilderError
impl Debug for PipeLoggerBuilderError
sourceimpl Display for PipeLoggerBuilderError
impl Display for PipeLoggerBuilderError
sourceimpl Error for PipeLoggerBuilderError
impl Error for PipeLoggerBuilderError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for PipeLoggerBuilderError
impl From<Error> for PipeLoggerBuilderError
Auto Trait Implementations
impl !RefUnwindSafe for PipeLoggerBuilderError
impl Send for PipeLoggerBuilderError
impl Sync for PipeLoggerBuilderError
impl Unpin for PipeLoggerBuilderError
impl !UnwindSafe for PipeLoggerBuilderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more