Struct
AccessDenied
pub struct AccessDenied;Trait Implementations
impl Archive for AccessDenied
impl Archive for AccessDenied
const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moretype Archived = ArchivedAccessDenied
type Archived = ArchivedAccessDenied
The archived representation of this type. Read more
type Resolver = AccessDeniedResolver
type Resolver = AccessDeniedResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
impl Debug for AccessDenied
impl Debug for AccessDenied
impl<__D: Fallible + ?Sized> Deserialize<AccessDenied, __D> for Archived<AccessDenied>
impl<__D: Fallible + ?Sized> Deserialize<AccessDenied, __D> for Archived<AccessDenied>
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<AccessDenied, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<AccessDenied, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl Display for AccessDenied
impl Display for AccessDenied
impl Error for AccessDenied
impl Error for AccessDenied
1.30.0fn 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.0fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
1.0.0fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
impl From<AccessDenied> for PinError
impl From<AccessDenied> for PinError
fn from(_: AccessDenied) -> Self
fn from(_: AccessDenied) -> Self
Converts to this type from the input type.
impl<__S: Fallible + ?Sized> Serialize<__S> for AccessDenied
impl<__S: Fallible + ?Sized> Serialize<__S> for AccessDenied
fn serialize(
&self,
serializer: &mut __S,
) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>
fn serialize( &self, serializer: &mut __S, ) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>
Writes the dependencies for the object and returns a resolver that can
create the archived type.