pub struct DartError(/* private fields */);
Expand description
An error that can be returned from Rust to Dart.
Trait Implementations§
Source§impl From<ConstraintsUpdateError> for Error
impl From<ConstraintsUpdateError> for Error
Source§fn from(err: ConstraintsUpdateError) -> Self
fn from(err: ConstraintsUpdateError) -> Self
Converts to this type from the input type.
Source§impl From<DartError> for DartOpaque
impl From<DartError> for DartOpaque
Source§impl From<EnumerateDevicesException> for DartError
impl From<EnumerateDevicesException> for DartError
Source§fn from(err: EnumerateDevicesException) -> Self
fn from(err: EnumerateDevicesException) -> Self
Converts to this type from the input type.
Source§impl From<FormatException> for DartError
impl From<FormatException> for DartError
Source§fn from(err: FormatException) -> Self
fn from(err: FormatException) -> Self
Converts to this type from the input type.
Source§impl From<InternalException> for DartError
impl From<InternalException> for DartError
Source§fn from(err: InternalException) -> Self
fn from(err: InternalException) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOutputAudioDeviceIdException> for DartError
impl From<InvalidOutputAudioDeviceIdException> for DartError
Source§fn from(err: InvalidOutputAudioDeviceIdException) -> Self
fn from(err: InvalidOutputAudioDeviceIdException) -> Self
Converts to this type from the input type.
Source§impl From<LocalMediaInitException> for DartError
impl From<LocalMediaInitException> for DartError
Source§fn from(err: LocalMediaInitException) -> Self
fn from(err: LocalMediaInitException) -> Self
Converts to this type from the input type.
Source§impl From<MediaSettingsUpdateException> for DartError
impl From<MediaSettingsUpdateException> for DartError
Source§fn from(err: MediaSettingsUpdateException) -> Self
fn from(err: MediaSettingsUpdateException) -> Self
Converts to this type from the input type.
Source§impl From<MediaStateTransitionException> for DartError
impl From<MediaStateTransitionException> for DartError
Source§fn from(err: MediaStateTransitionException) -> Self
fn from(err: MediaStateTransitionException) -> Self
Converts to this type from the input type.
Source§impl From<MicVolumeException> for DartError
impl From<MicVolumeException> for DartError
Source§fn from(err: MicVolumeException) -> Self
fn from(err: MicVolumeException) -> Self
Converts to this type from the input type.
Source§impl From<RpcClientException> for DartError
impl From<RpcClientException> for DartError
Source§fn from(err: RpcClientException) -> Self
fn from(err: RpcClientException) -> Self
Converts to this type from the input type.
Source§impl From<StateError> for DartError
impl From<StateError> for DartError
Source§fn from(err: StateError) -> Self
fn from(err: StateError) -> Self
Converts to this type from the input type.
Source§impl From<Traced<AudioLevelError>> for Error
impl From<Traced<AudioLevelError>> for Error
Source§fn from(err: Traced<AudioLevelError>) -> Self
fn from(err: Traced<AudioLevelError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<AudioProcessingError>> for Error
impl From<Traced<AudioProcessingError>> for Error
Source§fn from(err: Traced<AudioProcessingError>) -> Self
fn from(err: Traced<AudioProcessingError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<ChangeMediaStateError>> for Error
impl From<Traced<ChangeMediaStateError>> for Error
Source§fn from(err: Traced<ChangeMediaStateError>) -> Self
fn from(err: Traced<ChangeMediaStateError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<ChangeMediaStateError>> for Error
impl From<Traced<ChangeMediaStateError>> for Error
Source§fn from(err: Traced<ChangeMediaStateError>) -> Self
fn from(err: Traced<ChangeMediaStateError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<EnumerateDevicesError>> for Error
impl From<Traced<EnumerateDevicesError>> for Error
Source§fn from(err: Traced<EnumerateDevicesError>) -> Self
fn from(err: Traced<EnumerateDevicesError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<EnumerateDisplaysError>> for Error
impl From<Traced<EnumerateDisplaysError>> for Error
Source§fn from(err: Traced<EnumerateDisplaysError>) -> Self
fn from(err: Traced<EnumerateDisplaysError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<HandleDetachedError>> for Error
impl From<Traced<HandleDetachedError>> for Error
Source§fn from(err: Traced<HandleDetachedError>) -> Self
fn from(err: Traced<HandleDetachedError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<HandleDetachedError>> for Error
impl From<Traced<HandleDetachedError>> for Error
Source§fn from(err: Traced<HandleDetachedError>) -> Self
fn from(err: Traced<HandleDetachedError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<HandleDetachedError>> for Error
impl From<Traced<HandleDetachedError>> for Error
Source§fn from(err: Traced<HandleDetachedError>) -> Self
fn from(err: Traced<HandleDetachedError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<InitLocalTracksError>> for Error
impl From<Traced<InitLocalTracksError>> for Error
Source§fn from(err: Traced<InitLocalTracksError>) -> Self
fn from(err: Traced<InitLocalTracksError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<InvalidOutputAudioDeviceIdError>> for Error
impl From<Traced<InvalidOutputAudioDeviceIdError>> for Error
Source§fn from(err: Traced<InvalidOutputAudioDeviceIdError>) -> Self
fn from(err: Traced<InvalidOutputAudioDeviceIdError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<LocalMediaError>> for Error
impl From<Traced<LocalMediaError>> for Error
Source§fn from(err: Traced<LocalMediaError>) -> Self
fn from(err: Traced<LocalMediaError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<MicVolumeError>> for Error
impl From<Traced<MicVolumeError>> for Error
Source§fn from(err: Traced<MicVolumeError>) -> Self
fn from(err: Traced<MicVolumeError>) -> Self
Converts to this type from the input type.
Source§impl From<Traced<ReconnectError>> for Error
impl From<Traced<ReconnectError>> for Error
Source§fn from(err: Traced<ReconnectError>) -> Self
fn from(err: Traced<ReconnectError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DartError
impl RefUnwindSafe for DartError
impl !Send for DartError
impl !Sync for DartError
impl Unpin for DartError
impl UnwindSafe for DartError
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