pub enum UpdateResponse {
NoUpdate,
FullData(Bytes, u64),
DeltaChain(Vec<UpdateDelta>),
NoData,
}Expand description
Update response
Variants§
NoUpdate
No update needed (client is up to date)
FullData(Bytes, u64)
Full data response
DeltaChain(Vec<UpdateDelta>)
Delta chain response
NoData
No data available
Trait Implementations§
Source§impl Clone for UpdateResponse
impl Clone for UpdateResponse
Source§fn clone(&self) -> UpdateResponse
fn clone(&self) -> UpdateResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for UpdateResponse
impl RefUnwindSafe for UpdateResponse
impl Send for UpdateResponse
impl Sync for UpdateResponse
impl Unpin for UpdateResponse
impl UnsafeUnpin for UpdateResponse
impl UnwindSafe for UpdateResponse
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