Enum Target

#[non_exhaustive]
pub enum Target

Log target, either stdout, stderr or a custom pipe.

Variants

Stdout

Logs will be sent to standard output.

Stderr

Logs will be sent to standard error.

Pipe(Box<dyn Write + Send + 'static>)

Logs will be sent to a custom pipe.

Trait Implementations

impl Debug for Target

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for Target

fn default() -> Self

Auto Trait Implementations

impl !RefUnwindSafe for Target

impl !Sync for Target

impl !UnwindSafe for Target

impl Freeze for Target

impl Send for Target

impl Unpin for Target

impl UnsafeUnpin for Target

Blanket Implementations

impl<T> Any for Target where T: 'static + ?Sized,

impl<T> Borrow<T> for Target where T: ?Sized,

impl<T> BorrowMut<T> for Target where T: ?Sized,

impl<T> From<T> for Target

impl<T, U> Into<U> for Target where U: From<T>,

impl<T, U> TryFrom<U> for Target where U: Into<T>,

impl<T, U> TryInto<U> for Target where U: TryFrom<T>,