Enum rustc_errors::emitter::Destination
source · pub enum Destination {
Terminal(StandardStream),
Buffered(BufferWriter),
Raw(Box<dyn Write + Send>, bool),
}
Variants§
Implementations§
source§impl Destination
impl Destination
fn from_stderr(color: ColorConfig) -> Destination
fn writable(&mut self) -> WritableDst<'_> ⓘ
fn supports_color(&self) -> bool
Auto Trait Implementations§
impl !RefUnwindSafe for Destination
impl Send for Destination
impl !Sync for Destination
impl Unpin for Destination
impl !UnwindSafe for Destination
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 80 bytes
Size for each variant:
Terminal
: 64 bytesBuffered
: 80 bytesRaw
: 32 bytes