pub struct BinaryError { /* private fields */ }Expand description
A possible error resulting from attempted binary creation
Implementations§
Source§impl BinaryError
impl BinaryError
Sourcepub fn new(new_type: BinaryErrorType, new_name: &str) -> BinaryError
pub fn new(new_type: BinaryErrorType, new_name: &str) -> BinaryError
Sourcepub fn get_type(&self) -> BinaryErrorType
pub fn get_type(&self) -> BinaryErrorType
Sourcepub fn get_binary_name(&self) -> &str
pub fn get_binary_name(&self) -> &str
Trait Implementations§
Source§impl Debug for BinaryError
impl Debug for BinaryError
Auto Trait Implementations§
impl Freeze for BinaryError
impl RefUnwindSafe for BinaryError
impl Send for BinaryError
impl Sync for BinaryError
impl Unpin for BinaryError
impl UnwindSafe for BinaryError
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