pub struct MmapMessage {
pub id: Arc<MessageId>,
pub data: Bytes,
pub metadata: MessageMetadata,
}
Expand description
Fallback implementation using regular file I/O
Fields§
§id: Arc<MessageId>
Unique message identifier
data: Bytes
Message data as bytes
metadata: MessageMetadata
Message metadata
Implementations§
Source§impl MmapMessage
impl MmapMessage
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MmapMessage
impl RefUnwindSafe for MmapMessage
impl Send for MmapMessage
impl Sync for MmapMessage
impl Unpin for MmapMessage
impl UnwindSafe for MmapMessage
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