Enum viceroy_lib::error::BackendConfigError [−][src]
pub enum BackendConfigError {
InvalidEntryType,
InvalidOverrideHost(InvalidHeaderValue),
EmptyOverrideHost,
InvalidOverrideHostEntry,
InvalidUrl(InvalidUri),
InvalidUrlEntry,
MissingDefault,
MissingUrl,
UnrecognizedKey(String),
}Expand description
Errors that may occur while validating backend configurations.
Variants
InvalidOverrideHost(InvalidHeaderValue)Tuple Fields of InvalidOverrideHost
InvalidUrl(InvalidUri)Tuple Fields of InvalidUrl
0: InvalidUriUnrecognizedKey(String)Tuple Fields of UnrecognizedKey
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BackendConfigError
impl Send for BackendConfigError
impl Sync for BackendConfigError
impl Unpin for BackendConfigError
impl UnwindSafe for BackendConfigError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn get_fd_flags(&self) -> Result<FdFlags, Error> where
T: AsFilelike,
pub fn get_fd_flags(&self) -> Result<FdFlags, Error> where
T: AsFilelike,
Query the “status” flags for the self file descriptor.
pub fn new_set_fd_flags(
&self,
fd_flags: FdFlags
) -> Result<SetFdFlags<T>, Error> where
T: AsFilelike,
pub fn new_set_fd_flags(
&self,
fd_flags: FdFlags
) -> Result<SetFdFlags<T>, Error> where
T: AsFilelike,
Create a new SetFdFlags value for use with set_fd_flags. Read more
pub fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error> where
T: AsFilelike,
pub fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error> where
T: AsFilelike,
Set the “status” flags for the self file descriptor. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more