Enum sandwich::pb::ConfigurationError
pub enum ConfigurationError {
CONFIGURATIONERROR_INVALID_IMPLEMENTATION,
CONFIGURATIONERROR_UNSUPPORTED_IMPLEMENTATION,
CONFIGURATIONERROR_INVALID,
CONFIGURATIONERROR_INVALID_LISTENER,
}
Variants§
CONFIGURATIONERROR_INVALID_IMPLEMENTATION
CONFIGURATIONERROR_UNSUPPORTED_IMPLEMENTATION
CONFIGURATIONERROR_INVALID
CONFIGURATIONERROR_INVALID_LISTENER
Trait Implementations§
§impl Clone for ConfigurationError
impl Clone for ConfigurationError
§fn clone(&self) -> ConfigurationError
fn clone(&self) -> ConfigurationError
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 more§impl Debug for ConfigurationError
impl Debug for ConfigurationError
§impl Default for ConfigurationError
impl Default for ConfigurationError
§fn default() -> ConfigurationError
fn default() -> ConfigurationError
Returns the “default value” for a type. Read more
§impl Enum for ConfigurationError
impl Enum for ConfigurationError
§fn from_i32(value: i32) -> Option<ConfigurationError>
fn from_i32(value: i32) -> Option<ConfigurationError>
Try to create an enum from
i32
value.
Return None
if value is unknown.§fn from_str(str: &str) -> Option<ConfigurationError>
fn from_str(str: &str) -> Option<ConfigurationError>
Try to create an enum from
&str
value.
Return None
if str is unknown.§const VALUES: &'static [ConfigurationError] = _
const VALUES: &'static [ConfigurationError] = _
All enum values for enum type.
§impl EnumFull for ConfigurationError
impl EnumFull for ConfigurationError
§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl From<ConfigurationError> for ErrorCode
impl From<ConfigurationError> for ErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ErrorCode
.
source§fn from(v: ConfigurationError) -> Self
fn from(v: ConfigurationError) -> Self
Converts to this type from the input type.
source§impl From<ConfigurationError> for ProtoBasedErrorCode
impl From<ConfigurationError> for ProtoBasedErrorCode
Implements [From<sandwich_proto::ErrorEnum>]
for ProtoBasedErrorCode
.
source§fn from(v: ConfigurationError) -> Self
fn from(v: ConfigurationError) -> Self
Converts to this type from the input type.
§impl Hash for ConfigurationError
impl Hash for ConfigurationError
§impl PartialEq<ConfigurationError> for ConfigurationError
impl PartialEq<ConfigurationError> for ConfigurationError
§fn eq(&self, other: &ConfigurationError) -> bool
fn eq(&self, other: &ConfigurationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ConfigurationError> for ProtoBasedErrorCode
impl PartialEq<ConfigurationError> for ProtoBasedErrorCode
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§fn eq(&self, other: &ConfigurationError) -> bool
fn eq(&self, other: &ConfigurationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ProtoBasedErrorCode> for ConfigurationError
impl PartialEq<ProtoBasedErrorCode> for ConfigurationError
Implements comparison operator between ProtoBasedErrorCode
and the current error enum.
source§fn eq(&self, other: &ProtoBasedErrorCode) -> bool
fn eq(&self, other: &ProtoBasedErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ConfigurationError
impl Eq for ConfigurationError
impl StructuralEq for ConfigurationError
impl StructuralPartialEq for ConfigurationError
Auto Trait Implementations§
impl RefUnwindSafe for ConfigurationError
impl Send for ConfigurationError
impl Sync for ConfigurationError
impl Unpin for ConfigurationError
impl UnwindSafe for ConfigurationError
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