Struct async_nats::jetstream::stream::DirectGetError
source · pub struct DirectGetError { /* private fields */ }
Implementations§
source§impl DirectGetError
impl DirectGetError
pub fn kind(&self) -> DirectGetErrorKind
Trait Implementations§
source§impl Debug for DirectGetError
impl Debug for DirectGetError
source§impl Display for DirectGetError
impl Display for DirectGetError
source§impl Error for DirectGetError
impl Error for DirectGetError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<DirectGetError> for EntryError
impl From<DirectGetError> for EntryError
source§fn from(err: DirectGetError) -> Self
fn from(err: DirectGetError) -> Self
Converts to this type from the input type.
source§impl From<Error> for DirectGetError
impl From<Error> for DirectGetError
source§impl From<RequestError> for DirectGetError
impl From<RequestError> for DirectGetError
source§fn from(err: RequestError) -> Self
fn from(err: RequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DirectGetError
impl Send for DirectGetError
impl Sync for DirectGetError
impl Unpin for DirectGetError
impl !UnwindSafe for DirectGetError
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