Struct rusteron_media_driver::AeronCError
source · pub struct AeronCError {
pub code: i32,
}
Expand description
Represents an Aeron-specific error with a code and an optional message.
The error code is derived from Aeron C API calls.
Use get_message()
to retrieve a human-readable message, if available.
Fields§
§code: i32
Implementations§
source§impl AeronCError
impl AeronCError
Trait Implementations§
source§impl Debug for AeronCError
impl Debug for AeronCError
source§impl Display for AeronCError
impl Display for AeronCError
source§impl Error for AeronCError
impl Error for AeronCError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AeronErrorType> for AeronCError
impl From<AeronErrorType> for AeronCError
source§fn from(value: AeronErrorType) -> Self
fn from(value: AeronErrorType) -> Self
Converts to this type from the input type.
source§impl PartialEq for AeronCError
impl PartialEq for AeronCError
impl Eq for AeronCError
impl StructuralPartialEq for AeronCError
Auto Trait Implementations§
impl Freeze for AeronCError
impl RefUnwindSafe for AeronCError
impl Send for AeronCError
impl Sync for AeronCError
impl Unpin for AeronCError
impl UnwindSafe for AeronCError
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