pub struct ObjectsReply {
pub objects: u32,
pub payload_bytes: u64,
}Expand description
The reply of the server at the end of one object stream.
The counts are those of one stream. If two streams of one session send the
same content, dirtree, dirmeta, or commit object at the same time, both
can count it. A second detached metadata object for one commit is
Error::Protocol, also from another stream, and the session ends.
Fields§
§objects: u32The number of objects that the server stored.
payload_bytes: u64The number of payload bytes that the server wrote.
Trait Implementations§
Source§impl Clone for ObjectsReply
impl Clone for ObjectsReply
Source§impl Debug for ObjectsReply
impl Debug for ObjectsReply
impl Eq for ObjectsReply
Source§impl PartialEq for ObjectsReply
impl PartialEq for ObjectsReply
impl StructuralPartialEq for ObjectsReply
Auto Trait Implementations§
impl Forget for ObjectsReply
impl Freeze for ObjectsReply
impl Move for ObjectsReply
impl RefUnwindSafe for ObjectsReply
impl Send for ObjectsReply
impl Sync for ObjectsReply
impl Unpin for ObjectsReply
impl UnsafeUnpin for ObjectsReply
impl UnwindSafe for ObjectsReply
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.