pub struct ShardAccessError { /* private fields */ }Expand description
A ShardLocal was used where it has no value: off a worker, or by its
own initializer.
Implementations§
Source§impl ShardAccessError
impl ShardAccessError
Sourcepub fn is_initializing(&self) -> bool
pub fn is_initializing(&self) -> bool
Whether the value was being made: its initializer used it.
Trait Implementations§
Source§impl Clone for ShardAccessError
impl Clone for ShardAccessError
Source§fn clone(&self) -> ShardAccessError
fn clone(&self) -> ShardAccessError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShardAccessError
Source§impl Debug for ShardAccessError
impl Debug for ShardAccessError
Source§impl Display for ShardAccessError
impl Display for ShardAccessError
impl Eq for ShardAccessError
Source§impl Error for ShardAccessError
impl Error for ShardAccessError
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 ShardAccessError
impl PartialEq for ShardAccessError
impl StructuralPartialEq for ShardAccessError
Auto Trait Implementations§
impl Freeze for ShardAccessError
impl RefUnwindSafe for ShardAccessError
impl Send for ShardAccessError
impl Sync for ShardAccessError
impl Unpin for ShardAccessError
impl UnsafeUnpin for ShardAccessError
impl UnwindSafe for ShardAccessError
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