[−][src]Struct rumqttlog::router::Data
Fields
topic: String
Log to sweep
qos: u8
Qos of the topic
cursors: [(u64, u64); 3]
(segment, offset) tuples per replica (1 native and 2 replicas)
last_retain: u64
Next retain publish id
size: usize
Payload size
payload: Vec<Bytes>
Reply data chain
Implementations
impl Data
[src]
pub fn new(
topic: String,
qos: u8,
cursors: [(u64, u64); 3],
last_retain: u64,
size: usize,
payload: Vec<Bytes>
) -> Data
[src]
topic: String,
qos: u8,
cursors: [(u64, u64); 3],
last_retain: u64,
size: usize,
payload: Vec<Bytes>
) -> Data
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,