pub enum WarningDestination {
Stderr,
File(PathBuf),
}Expand description
Where to send warning output.
Variants§
Implementations§
Source§impl WarningDestination
impl WarningDestination
pub fn from_option(path: Option<&Path>) -> Self
Auto Trait Implementations§
impl Freeze for WarningDestination
impl RefUnwindSafe for WarningDestination
impl Send for WarningDestination
impl Sync for WarningDestination
impl Unpin for WarningDestination
impl UnsafeUnpin for WarningDestination
impl UnwindSafe for WarningDestination
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