pub struct ErrorCommand { /* private fields */ }
Implementations§
Source§impl ErrorCommand
impl ErrorCommand
pub fn get_request_id(&self) -> RequestId
pub fn get_error(&self) -> ServerError
pub fn get_message(&self) -> &str
Trait Implementations§
Source§impl Clone for ErrorCommand
impl Clone for ErrorCommand
Source§fn clone(&self) -> ErrorCommand
fn clone(&self) -> ErrorCommand
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 moreAuto Trait Implementations§
impl !Freeze for ErrorCommand
impl RefUnwindSafe for ErrorCommand
impl Send for ErrorCommand
impl Sync for ErrorCommand
impl Unpin for ErrorCommand
impl UnwindSafe for ErrorCommand
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)