#[repr(C)]pub struct CrispasrChatError {
pub code: i32,
pub message: [c_char; 256],
}Expand description
Out-parameter for every chat entry point that can fail (may be null).
Left untouched on success; on failure code is non-zero and message
holds a NUL-terminated diagnostic.
Fields§
§code: i32§message: [c_char; 256]Trait Implementations§
Source§impl Clone for CrispasrChatError
impl Clone for CrispasrChatError
Source§fn clone(&self) -> CrispasrChatError
fn clone(&self) -> CrispasrChatError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CrispasrChatError
Source§impl Debug for CrispasrChatError
impl Debug for CrispasrChatError
Auto Trait Implementations§
impl Freeze for CrispasrChatError
impl RefUnwindSafe for CrispasrChatError
impl Send for CrispasrChatError
impl Sync for CrispasrChatError
impl Unpin for CrispasrChatError
impl UnsafeUnpin for CrispasrChatError
impl UnwindSafe for CrispasrChatError
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