[][src]Struct tectonic_io_base::OutputHandle

pub struct OutputHandle { /* fields omitted */ }

A handle for Tectonic output streams.

Implementations

impl OutputHandle[src]

pub fn new<T: 'static + Write>(name: &OsStr, inner: T) -> OutputHandle

Notable traits for OutputHandle

impl Write for OutputHandle
[src]

Create a new output handle.

pub fn name(&self) -> &OsStr[src]

Get the name associated with this handle.

pub fn into_inner(self) -> Box<dyn Write>[src]

Consumes the object and returns the underlying writable handle that it references.

pub fn into_name_digest(self) -> (OsString, DigestData)[src]

Consumes the object and returns the SHA256 sum of the content that was written.

Trait Implementations

impl Write for OutputHandle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.