pub struct BodySyncResult {
pub response: Option<Vec<u8>>,
pub content: Option<String>,
pub is_echo: bool,
}Expand description
Result of handling a body sync message.
Fields§
§response: Option<Vec<u8>>Optional response bytes to send back to the server.
content: Option<String>New content if it changed, None if unchanged.
is_echo: boolWhether this is an echo of our own update.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BodySyncResult
impl RefUnwindSafe for BodySyncResult
impl Send for BodySyncResult
impl Sync for BodySyncResult
impl Unpin for BodySyncResult
impl UnsafeUnpin for BodySyncResult
impl UnwindSafe for BodySyncResult
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