pub struct MediaSettingsUpdateException { /* private fields */ }
Expand description
Errors occurring in RoomHandle::set_local_media_settings()
method.
Implementations§
Source§impl MediaSettingsUpdateException
impl MediaSettingsUpdateException
Sourcepub fn new<T: Into<Cow<'static, str>>>(
message: T,
cause: Traced<ChangeMediaStateError>,
rolled_back: bool,
) -> Self
pub fn new<T: Into<Cow<'static, str>>>( message: T, cause: Traced<ChangeMediaStateError>, rolled_back: bool, ) -> Self
Creates a new MediaSettingsUpdateException
from the provided error
message
, cause
and rolled_back
property.
Source§impl MediaSettingsUpdateException
impl MediaSettingsUpdateException
Sourcepub fn cause(&self) -> Error
pub fn cause(&self) -> Error
Returns the original room::ChangeMediaStateError
that was
encountered while updating local media settings.
Sourcepub fn rolled_back(&self) -> bool
pub fn rolled_back(&self) -> bool
Returns whether media settings were successfully rolled back after new settings application failed.
Trait Implementations§
Source§impl Debug for MediaSettingsUpdateException
impl Debug for MediaSettingsUpdateException
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.
Auto Trait Implementations§
impl Freeze for MediaSettingsUpdateException
impl RefUnwindSafe for MediaSettingsUpdateException
impl !Send for MediaSettingsUpdateException
impl !Sync for MediaSettingsUpdateException
impl Unpin for MediaSettingsUpdateException
impl UnwindSafe for MediaSettingsUpdateException
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