#[repr(u32)]pub enum ErrorCode {
GenericError = 0,
}
Expand description
Auto-generated discriminant enum variants
Variants§
GenericError = 0
Implementations§
Trait Implementations§
Source§impl AsRef<str> for FoundryUpstreamCode
impl AsRef<str> for FoundryUpstreamCode
Source§impl Clone for FoundryUpstreamCode
impl Clone for FoundryUpstreamCode
Source§fn clone(&self) -> FoundryUpstreamCode
fn clone(&self) -> FoundryUpstreamCode
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 Debug for FoundryUpstreamCode
impl Debug for FoundryUpstreamCode
Source§impl<'_enum> From<&'_enum FoundryUpstream> for FoundryUpstreamCode
impl<'_enum> From<&'_enum FoundryUpstream> for FoundryUpstreamCode
Source§fn from(val: &'_enum FoundryUpstream) -> FoundryUpstreamCode
fn from(val: &'_enum FoundryUpstream) -> FoundryUpstreamCode
Converts to this type from the input type.
Source§impl From<FoundryUpstream> for FoundryUpstreamCode
impl From<FoundryUpstream> for FoundryUpstreamCode
Source§fn from(val: FoundryUpstream) -> FoundryUpstreamCode
fn from(val: FoundryUpstream) -> FoundryUpstreamCode
Converts to this type from the input type.
Source§impl NamedError for FoundryUpstreamCode
impl NamedError for FoundryUpstreamCode
fn get_error_name(&self) -> String
Source§impl PartialEq for FoundryUpstreamCode
impl PartialEq for FoundryUpstreamCode
impl Copy for FoundryUpstreamCode
impl Eq for FoundryUpstreamCode
impl StructuralPartialEq for FoundryUpstreamCode
Auto Trait Implementations§
impl Freeze for FoundryUpstreamCode
impl RefUnwindSafe for FoundryUpstreamCode
impl Send for FoundryUpstreamCode
impl Sync for FoundryUpstreamCode
impl Unpin for FoundryUpstreamCode
impl UnwindSafe for FoundryUpstreamCode
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