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.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 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