Struct anchor_syn::ErrorCode
source · pub struct ErrorCode {
pub id: u32,
pub ident: Ident,
pub msg: Option<String>,
}
Fields§
§id: u32
§ident: Ident
§msg: Option<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ErrorCode
impl !Send for ErrorCode
impl !Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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