[−][src]Enum lv2_state::StateErr
Kinds of errors that may occur in the crate.
Variants
The kind of the error is unknown or doesn't have a representation.
A callback function pointer of a method is bad.
Retrieved data is invalid.
The retrieved data doesn't have the correct type.
The flags a method was called with are invalid.
A feature the plugin requested is missing.
A property the plugin is requesting doesn't exist.
There isn't enough memory available to execute the task.
A path that's been used as a parameter is not encoded in UTF-8.
The host does not comply to the specification.
Implementations
impl StateErr
[src]
pub fn from(value: LV2_State_Status) -> Result<(), StateErr>
[src]
Convert a raw status flag to a result or possible error value.
pub fn into(result: Result<(), StateErr>) -> LV2_State_Status
[src]
Convert a result to a raw status flag.
Trait Implementations
impl Clone for StateErr
[src]
impl Copy for StateErr
[src]
impl Debug for StateErr
[src]
impl Eq for StateErr
[src]
impl PartialEq<StateErr> for StateErr
[src]
impl StructuralEq for StateErr
[src]
impl StructuralPartialEq for StateErr
[src]
Auto Trait Implementations
impl RefUnwindSafe for StateErr
impl Send for StateErr
impl Sync for StateErr
impl Unpin for StateErr
impl UnwindSafe for StateErr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,