Struct easyfix_session::messages_storage::InMemoryStorage
source · pub struct InMemoryStorage { /* private fields */ }Implementations§
source§impl InMemoryStorage
impl InMemoryStorage
pub fn new() -> InMemoryStorage
Trait Implementations§
source§impl Default for InMemoryStorage
impl Default for InMemoryStorage
source§fn default() -> InMemoryStorage
fn default() -> InMemoryStorage
Returns the “default value” for a type. Read more
source§impl MessagesStorage for InMemoryStorage
impl MessagesStorage for InMemoryStorage
fn fetch_range(&mut self, _range: RangeInclusive<SeqNum>) -> Vec<Vec<u8>>
fn store(&mut self, seq_num: SeqNum, data: &[u8])
fn next_sender_msg_seq_num(&self) -> SeqNum
fn next_target_msg_seq_num(&self) -> SeqNum
fn set_next_sender_msg_seq_num(&mut self, seq_num: SeqNum)
fn set_next_target_msg_seq_num(&mut self, seq_num: SeqNum)
fn incr_next_sender_msg_seq_num(&mut self)
fn incr_next_target_msg_seq_num(&mut self)
fn reset(&mut self)
Auto Trait Implementations§
impl RefUnwindSafe for InMemoryStorage
impl Send for InMemoryStorage
impl Sync for InMemoryStorage
impl Unpin for InMemoryStorage
impl UnwindSafe for InMemoryStorage
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