pub struct Messages<F: Fn(&mut Message) -> bool + Send + Sync>(pub F);Expand description
Only messages; files are left.
Tuple Fields§
§0: FTrait Implementations§
Source§impl<F: Fn(&mut Message) -> bool + Send + Sync> Rewrite for Messages<F>
impl<F: Fn(&mut Message) -> bool + Send + Sync> Rewrite for Messages<F>
Source§fn message(&self, _: &Place<'_>, message: &mut Message) -> bool
fn message(&self, _: &Place<'_>, message: &mut Message) -> bool
A message of a push, a splice or a reset. Images are as stored:
blob:<sha256>.<ext> in a push or a splice, inline in a reset;
inline data put in a push or a splice is stored as a blob.Auto Trait Implementations§
impl<F> Freeze for Messages<F>where
F: Freeze,
impl<F> RefUnwindSafe for Messages<F>where
F: RefUnwindSafe,
impl<F> Send for Messages<F>
impl<F> Sync for Messages<F>
impl<F> Unpin for Messages<F>where
F: Unpin,
impl<F> UnsafeUnpin for Messages<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Messages<F>where
F: UnwindSafe,
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