pub enum SetTargetError {
FileOpenError {
builder: LoggerBuilder,
path: PathBuf,
error: Error,
},
}Expand description
An error raised when setting the logger’s output target. This can be converted back to the
builder using Into<Builder>.
Variants§
Trait Implementations§
Source§impl Debug for SetTargetError
impl Debug for SetTargetError
Source§impl Display for SetTargetError
impl Display for SetTargetError
Source§impl Error for SetTargetError
impl Error for SetTargetError
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 From<SetTargetError> for LoggerBuilder
impl From<SetTargetError> for LoggerBuilder
Source§fn from(value: SetTargetError) -> Self
fn from(value: SetTargetError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetTargetError
impl !RefUnwindSafe for SetTargetError
impl Send for SetTargetError
impl Sync for SetTargetError
impl Unpin for SetTargetError
impl UnsafeUnpin for SetTargetError
impl !UnwindSafe for SetTargetError
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