Enum rustc_errors::emitter::Destination [−][src]
pub enum Destination {
Terminal(StandardStream),
Buffered(BufferWriter),
Raw(Box<dyn Write + Send>, bool),
}
Variants
Terminal(StandardStream)
Tuple Fields of Terminal
Buffered(BufferWriter)
Tuple Fields of Buffered
0: BufferWriter
Implementations
fn writable(&mut self) -> WritableDst<'_>ⓘNotable traits for WritableDst<'a>impl<'a> Write for WritableDst<'a>
Notable traits for WritableDst<'a>
impl<'a> Write for WritableDst<'a>
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: 88 bytes
Size for each variant:
Terminal
: 63 bytesBuffered
: 87 bytesRaw
: 23 bytes