[−][src]Trait git_odb::Write
Associated Types
Loading content...Required methods
fn write_stream(
&self,
kind: Kind,
size: u64,
from: impl Read,
hash: HashKind
) -> Result<Id, Self::Error>
&self,
kind: Kind,
size: u64,
from: impl Read,
hash: HashKind
) -> Result<Id, Self::Error>
Provided methods
fn write(&self, object: &Object, hash: HashKind) -> Result<Id, Self::Error>
fn write_buf(
&self,
object: Kind,
from: &[u8],
hash: HashKind
) -> Result<Id, Self::Error>
&self,
object: Kind,
from: &[u8],
hash: HashKind
) -> Result<Id, Self::Error>
Implementors
impl Write for Db
[src]
type Error = Error
fn write_buf(
&self,
kind: Kind,
from: &[u8],
hash: HashKind
) -> Result<Id, Self::Error>
[src]
&self,
kind: Kind,
from: &[u8],
hash: HashKind
) -> Result<Id, Self::Error>
fn write_stream(
&self,
kind: Kind,
size: u64,
from: impl Read,
hash: HashKind
) -> Result<Id, Self::Error>
[src]
&self,
kind: Kind,
size: u64,
from: impl Read,
hash: HashKind
) -> Result<Id, Self::Error>