pub enum PriorityStreamFrame {
Skeleton {
data: Value,
priority: Priority,
complete: bool,
},
Patch {
patches: Vec<JsonPatch>,
priority: Priority,
},
Complete {
checksum: Option<u64>,
},
}
Expand description
Streaming frame containing skeleton or patch data
Variants§
Trait Implementations§
Source§impl Clone for PriorityStreamFrame
impl Clone for PriorityStreamFrame
Source§fn clone(&self) -> PriorityStreamFrame
fn clone(&self) -> PriorityStreamFrame
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 moreSource§impl Debug for PriorityStreamFrame
impl Debug for PriorityStreamFrame
Auto Trait Implementations§
impl Freeze for PriorityStreamFrame
impl RefUnwindSafe for PriorityStreamFrame
impl Send for PriorityStreamFrame
impl Sync for PriorityStreamFrame
impl Unpin for PriorityStreamFrame
impl UnwindSafe for PriorityStreamFrame
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