pub enum LoadStaticControlSpecsError {
SpecDirReadError(Error),
IoError(Error),
TryFromElementError(TryFromElementError),
YamlDeserializationError(Error),
}Expand description
Errors which can happen while loading static Control API specs.
Variants§
SpecDirReadError(Error)
Error while reading default or provided in config
(MEDEA_CONTROL_API.STATIC_SPECS_DIR environment variable) static
Control API specs dir.
Atm we only should print warn! message to log which prints that
static specs not loaded.
IoError(Error)
I/O error while reading static Control API specs.
TryFromElementError(TryFromElementError)
Conflict in static Control API specs.
YamlDeserializationError(Error)
Error while deserialization static Control API specs from YAML file.
Trait Implementations§
Source§impl Debug for LoadStaticControlSpecsError
impl Debug for LoadStaticControlSpecsError
Source§impl Fail for LoadStaticControlSpecsError
impl Fail for LoadStaticControlSpecsError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<Error> for LoadStaticControlSpecsError
impl From<Error> for LoadStaticControlSpecsError
Source§impl From<Error> for LoadStaticControlSpecsError
impl From<Error> for LoadStaticControlSpecsError
Source§impl From<LoadStaticControlSpecsError> for RoomServiceError
impl From<LoadStaticControlSpecsError> for RoomServiceError
Source§fn from(err: LoadStaticControlSpecsError) -> Self
fn from(err: LoadStaticControlSpecsError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromElementError> for LoadStaticControlSpecsError
impl From<TryFromElementError> for LoadStaticControlSpecsError
Source§fn from(err: TryFromElementError) -> Self
fn from(err: TryFromElementError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoadStaticControlSpecsError
impl !RefUnwindSafe for LoadStaticControlSpecsError
impl Send for LoadStaticControlSpecsError
impl Sync for LoadStaticControlSpecsError
impl Unpin for LoadStaticControlSpecsError
impl !UnwindSafe for LoadStaticControlSpecsError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request