pub struct AeronArchiveEncodedCredentials { /* private fields */ }
Implementations§
source§impl AeronArchiveEncodedCredentials
impl AeronArchiveEncodedCredentials
pub fn new(data: &str, length: u32) -> Result<Self, AeronCError>
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn data(&self) -> &str
pub fn length(&self) -> u32
pub fn get_inner(&self) -> *mut aeron_archive_encoded_credentials_t
Trait Implementations§
source§impl Clone for AeronArchiveEncodedCredentials
impl Clone for AeronArchiveEncodedCredentials
source§fn clone(&self) -> AeronArchiveEncodedCredentials
fn clone(&self) -> AeronArchiveEncodedCredentials
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 Default for AeronArchiveEncodedCredentials
impl Default for AeronArchiveEncodedCredentials
This will create an instance where the struct is zeroed, use with care
source§impl From<&AeronArchiveEncodedCredentials> for *mut aeron_archive_encoded_credentials_t
impl From<&AeronArchiveEncodedCredentials> for *mut aeron_archive_encoded_credentials_t
source§fn from(value: &AeronArchiveEncodedCredentials) -> Self
fn from(value: &AeronArchiveEncodedCredentials) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_archive_encoded_credentials_stct> for AeronArchiveEncodedCredentials
impl From<*const aeron_archive_encoded_credentials_stct> for AeronArchiveEncodedCredentials
source§fn from(value: *const aeron_archive_encoded_credentials_t) -> Self
fn from(value: *const aeron_archive_encoded_credentials_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_archive_encoded_credentials_stct> for AeronArchiveEncodedCredentials
impl From<*mut aeron_archive_encoded_credentials_stct> for AeronArchiveEncodedCredentials
source§fn from(value: *mut aeron_archive_encoded_credentials_t) -> Self
fn from(value: *mut aeron_archive_encoded_credentials_t) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveEncodedCredentials> for *mut aeron_archive_encoded_credentials_t
impl From<AeronArchiveEncodedCredentials> for *mut aeron_archive_encoded_credentials_t
source§fn from(value: AeronArchiveEncodedCredentials) -> Self
fn from(value: AeronArchiveEncodedCredentials) -> Self
Converts to this type from the input type.
source§impl From<AeronArchiveEncodedCredentials> for aeron_archive_encoded_credentials_t
impl From<AeronArchiveEncodedCredentials> for aeron_archive_encoded_credentials_t
source§fn from(value: AeronArchiveEncodedCredentials) -> Self
fn from(value: AeronArchiveEncodedCredentials) -> Self
Converts to this type from the input type.
source§impl From<aeron_archive_encoded_credentials_stct> for AeronArchiveEncodedCredentials
impl From<aeron_archive_encoded_credentials_stct> for AeronArchiveEncodedCredentials
source§fn from(value: aeron_archive_encoded_credentials_t) -> Self
fn from(value: aeron_archive_encoded_credentials_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AeronArchiveEncodedCredentials
impl !RefUnwindSafe for AeronArchiveEncodedCredentials
impl !Send for AeronArchiveEncodedCredentials
impl !Sync for AeronArchiveEncodedCredentials
impl Unpin for AeronArchiveEncodedCredentials
impl !UnwindSafe for AeronArchiveEncodedCredentials
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
)