Enum wireplumber::spa::json::BuildError
source · pub enum BuildError {
Error(Error),
Custom(String),
IntConversion {
error: String,
unexpected: Option<Unexpected<'static>>,
},
InvalidKey {
unexpected: Option<Unexpected<'static>>,
},
}
Variants§
Error(Error)
Custom(String)
IntConversion
InvalidKey
Fields
§
unexpected: Option<Unexpected<'static>>
Available on crate feature
serde
only.Implementations§
source§impl BuildError
impl BuildError
pub fn to_ser_error<E: Error>(&self) -> E
Available on crate feature
serde
only.pub fn to_serde_error<E: Error>(&self) -> E
Available on crate feature
serde
only.pub fn into_ser_error<E: Error>(self) -> E
Available on crate feature
serde
only.pub fn into_serde_error<E: Error>(self) -> E
Available on crate feature
serde
only.source§impl BuildError
impl BuildError
pub const INVALID_KEY: Self = _
Trait Implementations§
source§impl Debug for BuildError
impl Debug for BuildError
source§impl Display for BuildError
impl Display for BuildError
source§impl Error for BuildError
impl Error for BuildError
source§impl Error for BuildError
impl Error for BuildError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<BuildError> for Error
impl From<BuildError> for Error
source§fn from(error: BuildError) -> Error
fn from(error: BuildError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BuildError
impl RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl UnwindSafe for BuildError
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