pub struct FrameWriter<W> { /* private fields */ }
Implementations§
Source§impl<W: Write> FrameWriter<W>
impl<W: Write> FrameWriter<W>
pub fn new(writer: W, format: FrameFormat) -> Self
pub fn write_frame(&mut self, msg: &Message) -> Result<(), RpcError>
Auto Trait Implementations§
impl<W> Freeze for FrameWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for FrameWriter<W>where
W: RefUnwindSafe,
impl<W> Send for FrameWriter<W>where
W: Send,
impl<W> Sync for FrameWriter<W>where
W: Sync,
impl<W> Unpin for FrameWriter<W>where
W: Unpin,
impl<W> UnwindSafe for FrameWriter<W>where
W: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more