pub enum AlignofError {
Dependent,
Incomplete,
}Expand description
Indicates the error that prevented determining the alignment of a type.
Variants§
Trait Implementations§
Source§impl Clone for AlignofError
impl Clone for AlignofError
Source§fn clone(&self) -> AlignofError
fn clone(&self) -> AlignofError
Returns a duplicate 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 Debug for AlignofError
impl Debug for AlignofError
Source§impl Display for AlignofError
impl Display for AlignofError
Source§impl Error for AlignofError
impl Error for AlignofError
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<AlignofError> for String
impl From<AlignofError> for String
Source§fn from(error: AlignofError) -> String
fn from(error: AlignofError) -> String
Converts to this type from the input type.
Source§impl Hash for AlignofError
impl Hash for AlignofError
Source§impl PartialEq for AlignofError
impl PartialEq for AlignofError
impl Copy for AlignofError
impl Eq for AlignofError
impl StructuralPartialEq for AlignofError
Auto Trait Implementations§
impl Freeze for AlignofError
impl RefUnwindSafe for AlignofError
impl Send for AlignofError
impl Sync for AlignofError
impl Unpin for AlignofError
impl UnwindSafe for AlignofError
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