pub struct HeaderContext {
pub client_id: String,
pub round: Option<u64>,
pub target: HeaderTarget,
}Expand description
The request a header source answers for. round is the progress
attempt of the sync round the request belongs to, and None outside a
round (an app-initiated blob transfer, a realtime connect, a remote
operation). client_id is empty before the client is created.
Fields§
§client_id: String§round: Option<u64>§target: HeaderTargetTrait Implementations§
Source§impl Clone for HeaderContext
impl Clone for HeaderContext
Source§impl Debug for HeaderContext
impl Debug for HeaderContext
impl Eq for HeaderContext
Source§impl Hash for HeaderContext
impl Hash for HeaderContext
Source§impl PartialEq for HeaderContext
impl PartialEq for HeaderContext
impl StructuralPartialEq for HeaderContext
Auto Trait Implementations§
impl Forget for HeaderContext
impl Freeze for HeaderContext
impl Move for HeaderContext
impl RefUnwindSafe for HeaderContext
impl Send for HeaderContext
impl Sync for HeaderContext
impl Unpin for HeaderContext
impl UnsafeUnpin for HeaderContext
impl UnwindSafe for HeaderContext
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