struct FieldErrorOptions {
class: Vec<String>,
message: Option<String>,
no_field_hint: Option<String>,
read_only_hint: Option<String>,
}Expand description
#[externalptr(field_error(class = ..., message = ..., no_field_hint = ..., read_only_hint = ...))].
Fields§
§class: Vec<String>The classes put in front of the errors the R field readers raise
themselves (#1899), TypedExternal::FIELD_ERROR_CLASS.
message: Option<String>The package’s message for a receiver of the class whose pointer is no
T or that carries none (#1920), TypedExternal::FIELD_ERROR_MESSAGE.
no_field_hint: Option<String>A sentence the miniextendr_no_field error adds after its field list,
each %s replaced by the name asked for (#2112).
read_only_hint: Option<String>A sentence the miniextendr_read_only_field error adds after its
message, each %s replaced by the field’s R name (#2268).
Trait Implementations§
Auto Trait Implementations§
impl Forget for FieldErrorOptions
impl Freeze for FieldErrorOptions
impl RefUnwindSafe for FieldErrorOptions
impl Send for FieldErrorOptions
impl Sync for FieldErrorOptions
impl Unpin for FieldErrorOptions
impl UnsafeUnpin for FieldErrorOptions
impl UnwindSafe for FieldErrorOptions
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
Source§impl<T> SizeHint for Twhere
T: ?Sized,
impl<T> SizeHint for Twhere
T: ?Sized,
Source§default fn lower_bound(&self) -> usize
default fn lower_bound(&self) -> usize
core_io_internals)[u8; 12] could return any value between 0 and
12 inclusively as a correct implementation. Read moreSource§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize
#[doc(hidden)]const SIZE: usize
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize
#[doc(hidden)]const ALIGN: usize
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment
#[doc(hidden)]const ALIGNMENT: Alignment
ptr_alignment_type)Source§#[doc(hidden)]const IS_ZST: bool
#[doc(hidden)]const IS_ZST: bool
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout
#[doc(hidden)]const LAYOUT: Layout
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize
#[doc(hidden)]const MAX_SLICE_LEN: usize
sized_type_properties)[Self]. Read moreLayout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes