Struct rusteron_media_driver::AeronDriver
source · pub struct AeronDriver { /* private fields */ }
Implementations§
source§impl AeronDriver
impl AeronDriver
sourcepub fn new(context: &AeronDriverContext) -> Result<Self, AeronCError>
pub fn new(context: &AeronDriverContext) -> Result<Self, AeronCError>
pub fn context(&self) -> AeronDriverContext
pub fn conductor(&self) -> AeronDriverConductor
pub fn sender(&self) -> AeronDriverSender
pub fn receiver(&self) -> AeronDriverReceiver
pub fn runners(&self) -> [aeron_agent_runner_t; 3]
sourcepub fn main_do_work(&self) -> Result<i32, AeronCError>
pub fn main_do_work(&self) -> Result<i32, AeronCError>
Call the Conductor (or Shared) main do_work duty cycle once.
Driver must have been created with manual_main_loop set to true.
§Return
0 for success and -1 for error.
sourcepub fn main_idle_strategy(&self, work_count: c_int)
pub fn main_idle_strategy(&self, work_count: c_int)
sourcepub fn close(&self) -> Result<i32, AeronCError>
pub fn close(&self) -> Result<i32, AeronCError>
pub fn uri_get_offset_info(&self, offset: i32) -> &str
pub fn threading_mode_to_string(&self, mode: aeron_threading_mode_t) -> &str
pub fn get_inner(&self) -> *mut aeron_driver_t
source§impl AeronDriver
impl AeronDriver
pub fn launch_embedded( aeron_context: AeronDriverContext, register_sigint: bool, ) -> (Arc<AtomicBool>, JoinHandle<Result<(), AeronCError>>)
Trait Implementations§
source§impl Clone for AeronDriver
impl Clone for AeronDriver
source§fn clone(&self) -> AeronDriver
fn clone(&self) -> AeronDriver
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 AeronDriver
impl Debug for AeronDriver
source§impl Deref for AeronDriver
impl Deref for AeronDriver
source§impl From<&AeronDriver> for *mut aeron_driver_t
impl From<&AeronDriver> for *mut aeron_driver_t
source§fn from(value: &AeronDriver) -> Self
fn from(value: &AeronDriver) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_driver_stct> for AeronDriver
impl From<*const aeron_driver_stct> for AeronDriver
source§fn from(value: *const aeron_driver_t) -> Self
fn from(value: *const aeron_driver_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_driver_stct> for AeronDriver
impl From<*mut aeron_driver_stct> for AeronDriver
source§fn from(value: *mut aeron_driver_t) -> Self
fn from(value: *mut aeron_driver_t) -> Self
Converts to this type from the input type.
source§impl From<AeronDriver> for *mut aeron_driver_t
impl From<AeronDriver> for *mut aeron_driver_t
source§fn from(value: AeronDriver) -> Self
fn from(value: AeronDriver) -> Self
Converts to this type from the input type.
source§impl From<AeronDriver> for aeron_driver_t
impl From<AeronDriver> for aeron_driver_t
source§fn from(value: AeronDriver) -> Self
fn from(value: AeronDriver) -> Self
Converts to this type from the input type.
source§impl From<aeron_driver_stct> for AeronDriver
impl From<aeron_driver_stct> for AeronDriver
source§fn from(value: aeron_driver_t) -> Self
fn from(value: aeron_driver_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronDriver
impl !RefUnwindSafe for AeronDriver
impl !Send for AeronDriver
impl !Sync for AeronDriver
impl Unpin for AeronDriver
impl !UnwindSafe for AeronDriver
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
)