pub enum ModifyWorkspaceAccessPropertiesError {
AccessDenied(String),
ResourceNotFound(String),
}Expand description
Errors returned by ModifyWorkspaceAccessProperties
Variants§
AccessDenied(String)
The user is not authorized to access a resource.
ResourceNotFound(String)
The resource could not be found.
Implementations§
Trait Implementations§
Source§impl Error for ModifyWorkspaceAccessPropertiesError
impl Error for ModifyWorkspaceAccessPropertiesError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for ModifyWorkspaceAccessPropertiesError
impl PartialEq for ModifyWorkspaceAccessPropertiesError
Source§fn eq(&self, other: &ModifyWorkspaceAccessPropertiesError) -> bool
fn eq(&self, other: &ModifyWorkspaceAccessPropertiesError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyWorkspaceAccessPropertiesError
Auto Trait Implementations§
impl Freeze for ModifyWorkspaceAccessPropertiesError
impl RefUnwindSafe for ModifyWorkspaceAccessPropertiesError
impl Send for ModifyWorkspaceAccessPropertiesError
impl Sync for ModifyWorkspaceAccessPropertiesError
impl Unpin for ModifyWorkspaceAccessPropertiesError
impl UnwindSafe for ModifyWorkspaceAccessPropertiesError
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