pub struct NullStorage { /* private fields */ }Implementations§
Source§impl NullStorage
impl NullStorage
pub fn new() -> NullStorage
Trait Implementations§
Source§impl Default for NullStorage
impl Default for NullStorage
Source§fn default() -> NullStorage
fn default() -> NullStorage
Returns the “default value” for a type. Read more
Source§impl MessagesStorage for NullStorage
impl MessagesStorage for NullStorage
fn fetch_range( &mut self, _range: RangeInclusive<SeqNum>, ) -> impl Iterator<Item = &[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 Freeze for NullStorage
impl RefUnwindSafe for NullStorage
impl Send for NullStorage
impl Sync for NullStorage
impl Unpin for NullStorage
impl UnwindSafe for NullStorage
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