pub enum RegisterProtocolHandlerError {
SecurityError(SecurityError),
SyntaxError(SyntaxError),
}Variants§
SecurityError(SecurityError)
SyntaxError(SyntaxError)
Trait Implementations§
Source§impl Clone for RegisterProtocolHandlerError
impl Clone for RegisterProtocolHandlerError
Source§fn clone(&self) -> RegisterProtocolHandlerError
fn clone(&self) -> RegisterProtocolHandlerError
Returns a duplicate 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 RegisterProtocolHandlerError
impl Debug for RegisterProtocolHandlerError
Source§impl From<SecurityError> for RegisterProtocolHandlerError
impl From<SecurityError> for RegisterProtocolHandlerError
Source§fn from(err: SecurityError) -> Self
fn from(err: SecurityError) -> Self
Converts to this type from the input type.
Source§impl From<SyntaxError> for RegisterProtocolHandlerError
impl From<SyntaxError> for RegisterProtocolHandlerError
Source§fn from(err: SyntaxError) -> Self
fn from(err: SyntaxError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RegisterProtocolHandlerError
impl PartialEq for RegisterProtocolHandlerError
Source§fn eq(&self, other: &RegisterProtocolHandlerError) -> bool
fn eq(&self, other: &RegisterProtocolHandlerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisterProtocolHandlerError
Auto Trait Implementations§
impl Freeze for RegisterProtocolHandlerError
impl RefUnwindSafe for RegisterProtocolHandlerError
impl !Send for RegisterProtocolHandlerError
impl !Sync for RegisterProtocolHandlerError
impl Unpin for RegisterProtocolHandlerError
impl UnwindSafe for RegisterProtocolHandlerError
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