pub enum CallbackError {
Client(ClientError),
Server(ServerError),
}
Variants§
Client(ClientError)
Server(ServerError)
Trait Implementations§
source§impl Clone for CallbackError
impl Clone for CallbackError
source§fn clone(&self) -> CallbackError
fn clone(&self) -> CallbackError
Returns a copy of the value. Read more
1.6.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 CallbackError
impl Debug for CallbackError
source§impl Display for CallbackError
impl Display for CallbackError
source§impl From<ClientError> for CallbackError
impl From<ClientError> for CallbackError
source§fn from(client_error: ClientError) -> Self
fn from(client_error: ClientError) -> Self
Converts to this type from the input type.
source§impl From<ServerError> for CallbackError
impl From<ServerError> for CallbackError
source§fn from(server_error: ServerError) -> Self
fn from(server_error: ServerError) -> Self
Converts to this type from the input type.
source§impl PartialEq for CallbackError
impl PartialEq for CallbackError
impl Eq for CallbackError
impl StructuralPartialEq for CallbackError
Auto Trait Implementations§
impl Freeze for CallbackError
impl RefUnwindSafe for CallbackError
impl Send for CallbackError
impl Sync for CallbackError
impl Unpin for CallbackError
impl UnwindSafe for CallbackError
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
)