pub struct TargetSystemCreateError {
pub id: Option<TargetSystemId>,
pub message: String,
}Expand description
Failure from TargetSystemsClient::create.
full mode (unlike RotationError) so Self::id crosses the FFI boundary: sealing can
fail after the POST assigned an ID, leaving a row to retry or delete.
Fields§
§id: Option<TargetSystemId>None means nothing was created.
message: StringNever contains sealed field values.
Trait Implementations§
Source§impl Debug for TargetSystemCreateError
impl Debug for TargetSystemCreateError
Source§impl Display for TargetSystemCreateError
impl Display for TargetSystemCreateError
Source§impl Error for TargetSystemCreateError
impl Error for TargetSystemCreateError
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 From<TargetSystemCreateError> for JsValuewhere
TargetSystemCreateError: Serialize,
impl From<TargetSystemCreateError> for JsValuewhere
TargetSystemCreateError: Serialize,
Source§fn from(value: TargetSystemCreateError) -> Self
fn from(value: TargetSystemCreateError) -> Self
Converts to this type from the input type.
Source§impl IntoWasmAbi for &TargetSystemCreateErrorwhere
TargetSystemCreateError: Serialize,
impl IntoWasmAbi for &TargetSystemCreateErrorwhere
TargetSystemCreateError: Serialize,
Source§impl IntoWasmAbi for TargetSystemCreateErrorwhere
TargetSystemCreateError: Serialize,
impl IntoWasmAbi for TargetSystemCreateErrorwhere
TargetSystemCreateError: Serialize,
Source§impl Serialize for TargetSystemCreateError
impl Serialize for TargetSystemCreateError
Source§impl Tsify for TargetSystemCreateError
impl Tsify for TargetSystemCreateError
const DECL: &'static str = "/**\n * Failure from [`TargetSystemsClient::create`].\n *\n * `full` mode (unlike [`RotationError`]) so [`Self::id`] crosses the FFI boundary: sealing can\n * fail after the `POST` assigned an ID, leaving a row to retry or delete.\n */\nexport interface TargetSystemCreateError {\n /**\n * `None` means nothing was created.\n */\n id: TargetSystemId | undefined;\n /**\n * Never contains sealed field values.\n */\n message: string;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Source§impl VectorIntoWasmAbi for TargetSystemCreateErrorwhere
TargetSystemCreateError: Serialize,
impl VectorIntoWasmAbi for TargetSystemCreateErrorwhere
TargetSystemCreateError: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Auto Trait Implementations§
impl Freeze for TargetSystemCreateError
impl RefUnwindSafe for TargetSystemCreateError
impl Send for TargetSystemCreateError
impl Sync for TargetSystemCreateError
impl Unpin for TargetSystemCreateError
impl UnsafeUnpin for TargetSystemCreateError
impl UnwindSafe for TargetSystemCreateError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.