Struct eventsourced::Binarizer
source · pub struct Binarizer<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes> {
pub evt_to_bytes: EvtToBytes,
pub evt_from_bytes: EvtFromBytes,
pub state_to_bytes: StateToBytes,
pub state_from_bytes: StateFromBytes,
}Expand description
Collection of conversion functions from and to Bytes for events and snapshots.
Fields§
§evt_to_bytes: EvtToBytes§evt_from_bytes: EvtFromBytes§state_to_bytes: StateToBytes§state_from_bytes: StateFromBytesAuto Trait Implementations§
impl<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes> RefUnwindSafe for Binarizer<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes>where
EvtFromBytes: RefUnwindSafe,
EvtToBytes: RefUnwindSafe,
StateFromBytes: RefUnwindSafe,
StateToBytes: RefUnwindSafe,
impl<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes> Send for Binarizer<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes>
impl<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes> Sync for Binarizer<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes>
impl<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes> Unpin for Binarizer<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes>
impl<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes> UnwindSafe for Binarizer<EvtToBytes, EvtFromBytes, StateToBytes, StateFromBytes>where
EvtFromBytes: UnwindSafe,
EvtToBytes: UnwindSafe,
StateFromBytes: UnwindSafe,
StateToBytes: 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