pub enum GetPublicKeyError {
InvalidUsername,
UserNotFound,
}
Variants§
Trait Implementations§
Source§impl Clone for GetPublicKeyError
impl Clone for GetPublicKeyError
Source§fn clone(&self) -> GetPublicKeyError
fn clone(&self) -> GetPublicKeyError
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 GetPublicKeyError
impl Debug for GetPublicKeyError
Source§impl<'de> Deserialize<'de> for GetPublicKeyError
impl<'de> Deserialize<'de> for GetPublicKeyError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetPublicKeyError
impl PartialEq for GetPublicKeyError
Source§impl Serialize for GetPublicKeyError
impl Serialize for GetPublicKeyError
impl Eq for GetPublicKeyError
impl StructuralPartialEq for GetPublicKeyError
Auto Trait Implementations§
impl Freeze for GetPublicKeyError
impl RefUnwindSafe for GetPublicKeyError
impl Send for GetPublicKeyError
impl Sync for GetPublicKeyError
impl Unpin for GetPublicKeyError
impl UnwindSafe for GetPublicKeyError
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