[−][src]Struct aeron_rs::concurrent::logbuffer::term_reader::ReadOutcome
Fn(&AtomicBuffer, Index, Index, &Header) -> Result<(), AeronError>; Callback for handling fragments of data being read from a log.
Handler for reading data that is coming from a log buffer. The frame will either contain a whole message or a fragment of a message to be reassembled. Messages are fragmented if greater than the frame for MTU in length. @param buffer containing the data. @param offset at which the data begins. @param length of the data in bytes. @param header representing the meta data for the data.
Fn(AeronError) Callback to indicate an exception has occurred. @param error that has occurred.
Fields
offset: Index
fragments_read: i32
Trait Implementations
impl Default for ReadOutcome
[src]
fn default() -> ReadOutcome
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReadOutcome
impl Send for ReadOutcome
impl Sync for ReadOutcome
impl Unpin for ReadOutcome
impl UnwindSafe for ReadOutcome
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,
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.
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>,