pub enum SCRAMError {
ProtocolError,
}Variants§
ProtocolError
Trait Implementations§
Source§impl Debug for SCRAMError
impl Debug for SCRAMError
Source§impl Display for SCRAMError
impl Display for SCRAMError
Source§impl Error for SCRAMError
impl Error for SCRAMError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<SCRAMError> for ClientAuthError
impl From<SCRAMError> for ClientAuthError
Source§fn from(value: SCRAMError) -> Self
fn from(value: SCRAMError) -> Self
Converts to this type from the input type.
Source§impl From<SCRAMError> for ConnectionError
impl From<SCRAMError> for ConnectionError
Source§fn from(value: SCRAMError) -> Self
fn from(value: SCRAMError) -> Self
Converts to this type from the input type.
Source§impl From<SCRAMError> for ConnectionError
impl From<SCRAMError> for ConnectionError
Source§fn from(value: SCRAMError) -> Self
fn from(value: SCRAMError) -> Self
Converts to this type from the input type.
Source§impl From<SCRAMError> for ServerAuthError
impl From<SCRAMError> for ServerAuthError
Source§fn from(value: SCRAMError) -> Self
fn from(value: SCRAMError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SCRAMError
impl RefUnwindSafe for SCRAMError
impl Send for SCRAMError
impl Sync for SCRAMError
impl Unpin for SCRAMError
impl UnwindSafe for SCRAMError
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> EncoderForExt for Twhere
T: ?Sized,
impl<T> EncoderForExt for Twhere
T: ?Sized,
Source§fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
Convert this builder into a vector of bytes. This is generally
not the most efficient way to perform serialization.
Source§fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.
Source§fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.