Struct alrulab_core::value::AlruError
source · pub struct AlruError { /* private fields */ }Implementations§
source§impl AlruError
impl AlruError
pub fn new(msg: &str) -> AlruError
pub fn from_utf8(msg: &[u8]) -> AlruError
pub unsafe fn from_utf8_unchecked(msg: &[u8]) -> AlruError
pub fn as_bytes(&self) -> &[u8]
pub fn as_mut_bytes(&mut self) -> &mut [u8]
pub fn as_str(&self) -> &str
pub fn as_mut_str(&mut self) -> &mut str
pub fn default(&self) -> &str
Trait Implementations§
source§impl Error for AlruError
impl Error for AlruError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations§
impl Freeze for AlruError
impl RefUnwindSafe for AlruError
impl Send for AlruError
impl Sync for AlruError
impl Unpin for AlruError
impl UnwindSafe for AlruError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)