Enum nih_plug::debug::nih_log::SetTargetError
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§
§impl Debug for SetTargetError
impl Debug for SetTargetError
§impl Display for SetTargetError
impl Display for SetTargetError
§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)>
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()
§impl From<SetTargetError> for LoggerBuilder
impl From<SetTargetError> for LoggerBuilder
§fn from(value: SetTargetError) -> LoggerBuilder
fn from(value: SetTargetError) -> LoggerBuilder
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SetTargetError
impl Send for SetTargetError
impl Sync for SetTargetError
impl Unpin 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