Struct yrs::UpdateEvent
source · [−]Expand description
An update event passed to a callback registered in the event handler. Contains data about the state of an update.
Fields
update: Vec<u8>An update that’s about to be applied. Update contains information about all inserted blocks, which have been send from a remote peer.
Auto Trait Implementations
impl RefUnwindSafe for UpdateEvent
impl Send for UpdateEvent
impl Sync for UpdateEvent
impl Unpin for UpdateEvent
impl UnwindSafe for UpdateEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more