Sebastian Thiel[packetline #178] refactor0c7c5995 years agoHistory
21 lines · 586 B · Rust
RawDownload
use crate::Writer; #[cfg(all(not(feature = "blocking-io"), feature = "async-io"))]pub(crate) mod async_io; #[cfg(feature = "blocking-io")]pub(crate) mod blocking_io; /// Common methodsimpl<T> Writer<T> {    /// As [`enable_text_mode()`][Writer::enable_text_mode()], but suitable for chaining.    pub fn text_mode(mut self) -> Self {        self.enable_text_mode();        self    }    /// As [`enable_binary_mode()`][Writer::enable_binary_mode()], but suitable for chaining.    pub fn binary_mode(mut self) -> Self {        self.enable_binary_mode();        self    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t