#[repr(transparent)]
pub struct DartError(_);
Expand description

An error that can be returned from Rust to Dart.

Trait Implementations§

source§

impl Debug for DartError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<ConstraintsUpdateError> for Error

source§

fn from(err: ConstraintsUpdateError) -> Self

Converts to this type from the input type.
source§

impl From<DartError> for DartValue

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<DartError> for NonNull<Dart_Handle>

source§

fn from(original: DartError) -> Self

Converts to this type from the input type.
source§

impl From<EnumerateDevicesException> for DartError

source§

fn from(err: EnumerateDevicesException) -> Self

Converts to this type from the input type.
source§

impl From<Error> for DartError

source§

fn from(err: Error) -> Self

Converts to this type from the input type.
source§

impl From<FormatException> for DartError

source§

fn from(err: FormatException) -> Self

Converts to this type from the input type.
source§

impl From<InternalException> for DartError

source§

fn from(err: InternalException) -> Self

Converts to this type from the input type.
source§

impl From<InvalidOutputAudioDeviceIdException> for DartError

source§

fn from(err: InvalidOutputAudioDeviceIdException) -> Self

Converts to this type from the input type.
source§

impl From<LocalMediaInitException> for DartError

source§

fn from(err: LocalMediaInitException) -> Self

Converts to this type from the input type.
source§

impl From<MediaSettingsUpdateException> for DartError

source§

fn from(err: MediaSettingsUpdateException) -> Self

Converts to this type from the input type.
source§

impl From<MediaStateTransitionException> for DartError

source§

fn from(err: MediaStateTransitionException) -> Self

Converts to this type from the input type.
source§

impl From<MicVolumeException> for DartError

source§

fn from(err: MicVolumeException) -> Self

Converts to this type from the input type.
source§

impl From<RpcClientException> for DartError

source§

fn from(err: RpcClientException) -> Self

Converts to this type from the input type.
source§

impl From<StateError> for DartError

source§

fn from(err: StateError) -> Self

Converts to this type from the input type.
source§

impl From<Traced<ChangeMediaStateError>> for Error

source§

fn from(err: Traced<ChangeMediaStateError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<ChangeMediaStateError>> for Error

source§

fn from(err: Traced<ChangeMediaStateError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<EnumerateDevicesError>> for Error

source§

fn from(err: Traced<EnumerateDevicesError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<EnumerateDisplaysError>> for Error

source§

fn from(err: Traced<EnumerateDisplaysError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<HandleDetachedError>> for Error

source§

fn from(err: Traced<HandleDetachedError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<HandleDetachedError>> for Error

source§

fn from(err: Traced<HandleDetachedError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<HandleDetachedError>> for Error

source§

fn from(err: Traced<HandleDetachedError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<InitLocalTracksError>> for Error

source§

fn from(err: Traced<InitLocalTracksError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<InvalidOutputAudioDeviceIdError>> for Error

source§

fn from(err: Traced<InvalidOutputAudioDeviceIdError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<LocalMediaError>> for Error

source§

fn from(err: Traced<LocalMediaError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<MicVolumeError>> for Error

source§

fn from(err: Traced<MicVolumeError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<ReconnectError>> for Error

source§

fn from(err: Traced<ReconnectError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<RoomJoinError>> for Error

source§

fn from(err: Traced<RoomJoinError>) -> Self

Converts to this type from the input type.
source§

impl From<Traced<SessionError>> for Error

source§

fn from(err: Traced<SessionError>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<E> WrapTraced<E> for E

source§

fn wrap_traced(self, f: Frame) -> Traced<E>

Wraps this error into a Traced wrapper, storing the given Frame of a Trace inside.
source§

impl<T> DartSafe for Twhere T: UnwindSafe + RefUnwindSafe,