pub struct LocalReviewError { /* private fields */ }Implementations§
Source§impl LocalReviewError
impl LocalReviewError
pub fn invalid_argument(message: impl Into<String>) -> Self
pub fn not_found(message: impl Into<String>) -> Self
pub fn failed_precondition(message: impl Into<String>) -> Self
pub fn aborted(message: impl Into<String>) -> Self
pub fn internal(message: impl Into<String>) -> Self
pub fn code(&self) -> LocalReviewCode
pub fn message(&self) -> &str
Trait Implementations§
Source§impl Debug for LocalReviewError
impl Debug for LocalReviewError
Source§impl Display for LocalReviewError
impl Display for LocalReviewError
Source§impl Error for LocalReviewError
impl Error for LocalReviewError
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()
Auto Trait Implementations§
impl Freeze for LocalReviewError
impl RefUnwindSafe for LocalReviewError
impl Send for LocalReviewError
impl Sync for LocalReviewError
impl Unpin for LocalReviewError
impl UnsafeUnpin for LocalReviewError
impl UnwindSafe for LocalReviewError
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