Struct rusteron_media_driver::AeronMappedRawLog
source · pub struct AeronMappedRawLog { /* private fields */ }
Implementations§
source§impl AeronMappedRawLog
impl AeronMappedRawLog
pub fn new( term_buffers: [aeron_mapped_buffer_t; 3], log_meta_data: AeronMappedBuffer, mapped_file: AeronMappedFile, term_length: usize, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn term_buffers(&self) -> [aeron_mapped_buffer_t; 3]
pub fn log_meta_data(&self) -> AeronMappedBuffer
pub fn mapped_file(&self) -> AeronMappedFile
pub fn term_length(&self) -> usize
pub fn aeron_raw_log_map( &self, path: &str, use_sparse_files: bool, term_length: u64, page_size: u64, ) -> Result<i32, AeronCError>
pub fn aeron_raw_log_map_existing( &self, path: &str, pre_touch: bool, ) -> Result<i32, AeronCError>
pub fn aeron_raw_log_close(&self, filename: &str) -> Result<i32, AeronCError>
pub fn aeron_raw_log_free(&self, filename: &str) -> bool
pub fn get_inner(&self) -> *mut aeron_mapped_raw_log_t
Trait Implementations§
source§impl Clone for AeronMappedRawLog
impl Clone for AeronMappedRawLog
source§fn clone(&self) -> AeronMappedRawLog
fn clone(&self) -> AeronMappedRawLog
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AeronMappedRawLog
impl Debug for AeronMappedRawLog
source§impl Default for AeronMappedRawLog
impl Default for AeronMappedRawLog
This will create an instance where the struct is zeroed, use with care
source§impl Deref for AeronMappedRawLog
impl Deref for AeronMappedRawLog
source§impl From<&AeronMappedRawLog> for *mut aeron_mapped_raw_log_t
impl From<&AeronMappedRawLog> for *mut aeron_mapped_raw_log_t
source§fn from(value: &AeronMappedRawLog) -> Self
fn from(value: &AeronMappedRawLog) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_mapped_raw_log_stct> for AeronMappedRawLog
impl From<*const aeron_mapped_raw_log_stct> for AeronMappedRawLog
source§fn from(value: *const aeron_mapped_raw_log_t) -> Self
fn from(value: *const aeron_mapped_raw_log_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_mapped_raw_log_stct> for AeronMappedRawLog
impl From<*mut aeron_mapped_raw_log_stct> for AeronMappedRawLog
source§fn from(value: *mut aeron_mapped_raw_log_t) -> Self
fn from(value: *mut aeron_mapped_raw_log_t) -> Self
Converts to this type from the input type.
source§impl From<AeronMappedRawLog> for *mut aeron_mapped_raw_log_t
impl From<AeronMappedRawLog> for *mut aeron_mapped_raw_log_t
source§fn from(value: AeronMappedRawLog) -> Self
fn from(value: AeronMappedRawLog) -> Self
Converts to this type from the input type.
source§impl From<AeronMappedRawLog> for aeron_mapped_raw_log_t
impl From<AeronMappedRawLog> for aeron_mapped_raw_log_t
source§fn from(value: AeronMappedRawLog) -> Self
fn from(value: AeronMappedRawLog) -> Self
Converts to this type from the input type.
source§impl From<aeron_mapped_raw_log_stct> for AeronMappedRawLog
impl From<aeron_mapped_raw_log_stct> for AeronMappedRawLog
source§fn from(value: aeron_mapped_raw_log_t) -> Self
fn from(value: aeron_mapped_raw_log_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronMappedRawLog
impl !RefUnwindSafe for AeronMappedRawLog
impl !Send for AeronMappedRawLog
impl !Sync for AeronMappedRawLog
impl Unpin for AeronMappedRawLog
impl !UnwindSafe for AeronMappedRawLog
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)