pub struct NotSendable {
pub offender: String,
pub path: Vec<String>,
pub why: &'static str,
}Expand description
Why a type may not cross a boundary.
Fields§
§offender: StringThe offending type, by name — secret[Str], or the function type.
path: Vec<String>The field path that reaches it: State.config.api_key.
why: &'static strImplementations§
Trait Implementations§
Source§impl Clone for NotSendable
impl Clone for NotSendable
Source§fn clone(&self) -> NotSendable
fn clone(&self) -> NotSendable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotSendable
impl Debug for NotSendable
Source§impl PartialEq for NotSendable
impl PartialEq for NotSendable
impl Eq for NotSendable
impl StructuralPartialEq for NotSendable
Auto Trait Implementations§
impl Freeze for NotSendable
impl RefUnwindSafe for NotSendable
impl Send for NotSendable
impl Sync for NotSendable
impl Unpin for NotSendable
impl UnwindSafe for NotSendable
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