Struct rusteron_media_driver::AeronUri
source · pub struct AeronUri { /* private fields */ }
Implementations§
source§impl AeronUri
impl AeronUri
pub fn new( mutable_uri: [c_char; 384], type_: aeron_uri_type_t, params: aeron_uri_stct__bindgen_ty_1, ) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn mutable_uri(&self) -> [c_char; 384]
pub fn type_(&self) -> aeron_uri_type_t
pub fn params(&self) -> aeron_uri_stct__bindgen_ty_1
pub fn parse_params<AeronUriParseCallbackHandlerImpl: AeronUriParseCallbackCallback>( uri: *mut c_char, param_func: Option<&Handler<AeronUriParseCallbackHandlerImpl>>, ) -> Result<i32, AeronCError>
pub fn parse(&self, uri_length: usize, uri: &str) -> Result<i32, AeronCError>
pub fn close(&self)
pub fn multicast_ttl(&self) -> u8
pub fn sprint( &self, buffer: *mut c_char, buffer_len: usize, ) -> Result<i32, AeronCError>
pub fn parse_tag(tag_str: &str) -> i64
pub fn aeron_diver_uri_publication_params( &self, params: &AeronDriverUriPublicationParams, conductor: &AeronDriverConductor, is_exclusive: bool, ) -> Result<i32, AeronCError>
pub fn aeron_driver_uri_subscription_params( &self, params: &AeronDriverUriSubscriptionParams, conductor: &AeronDriverConductor, ) -> Result<i32, AeronCError>
pub fn aeron_driver_uri_get_timestamp_offset( &self, key: &str, ) -> Result<i32, AeronCError>
pub fn get_inner(&self) -> *mut aeron_uri_t
Trait Implementations§
source§impl Default for AeronUri
impl Default for AeronUri
This will create an instance where the struct is zeroed, use with care
source§impl From<*const aeron_uri_stct> for AeronUri
impl From<*const aeron_uri_stct> for AeronUri
source§fn from(value: *const aeron_uri_t) -> Self
fn from(value: *const aeron_uri_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_uri_stct> for AeronUri
impl From<*mut aeron_uri_stct> for AeronUri
source§fn from(value: *mut aeron_uri_t) -> Self
fn from(value: *mut aeron_uri_t) -> Self
Converts to this type from the input type.
source§impl From<AeronUri> for aeron_uri_t
impl From<AeronUri> for aeron_uri_t
source§impl From<aeron_uri_stct> for AeronUri
impl From<aeron_uri_stct> for AeronUri
source§fn from(value: aeron_uri_t) -> Self
fn from(value: aeron_uri_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronUri
impl !RefUnwindSafe for AeronUri
impl !Send for AeronUri
impl !Sync for AeronUri
impl Unpin for AeronUri
impl !UnwindSafe for AeronUri
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
)