Enum git_transport::client::WriteMode [−][src]
pub enum WriteMode {
Binary,
OneLfTerminatedLinePerWriteCall,
}
Expand description
Configure how the [RequestWriter
][crate::client::RequestWriter] behaves when writing bytes.
Variants
Each write() call writes the bytes verbatim as one or more packet lines.
Each write() call assumes text in the input, assures a trailing newline and writes it as single packet line.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for WriteMode
impl UnwindSafe for WriteMode
Blanket Implementations
Mutably borrows from an owned value. Read more