Enum rustc_errors::emitter::WritableDst [−][src]
pub enum WritableDst<'a> {
Terminal(&'a mut StandardStream),
Buffered(&'a mut BufferWriter, Buffer),
Raw(&'a mut (dyn Write + Send)),
ColoredRaw(Ansi<&'a mut (dyn Write + Send)>),
}
Variants
Terminal(&'a mut StandardStream)
Tuple Fields of Terminal
0: &'a mut StandardStream
Buffered(&'a mut BufferWriter, Buffer)
Tuple Fields of Buffered
0: &'a mut BufferWriter
1: Buffer
Implementations
Trait Implementations
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for WritableDst<'a>
impl<'a> Send for WritableDst<'a>
impl<'a> !Sync for WritableDst<'a>
impl<'a> Unpin for WritableDst<'a>
impl<'a> !UnwindSafe for WritableDst<'a>
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: 48 bytes
Size for each variant:
Terminal
: 8 bytesBuffered
: 40 bytesRaw
: 16 bytesColoredRaw
: 16 bytes