Trait interprocess::bound_util::RefWrite

source ·
pub trait RefWrite {
    // Required method
    fn as_write(&self) -> Self::Write<'_>;
}
Expand description

Write by reference.

Required Methods§

source

fn as_write(&self) -> Self::Write<'_>

Returns self with the guarantee that &Self implements Write encoded in a way which is visible to Rust’s type system.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: ?Sized> RefWrite for T
where for<'a> &'a T: Write,