Struct ironcore_alloy::vector::VectorRotateResult
source · pub struct VectorRotateResult {
pub successes: EncryptedVectors,
pub failures: HashMap<VectorId, AlloyError>,
}
Fields§
§successes: EncryptedVectors
§failures: HashMap<VectorId, AlloyError>
Trait Implementations§
source§impl<UT> ConvertError<UT> for VectorRotateResult
impl<UT> ConvertError<UT> for VectorRotateResult
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError ) -> Result<Self>
source§impl Debug for VectorRotateResult
impl Debug for VectorRotateResult
source§impl<T> FfiConverter<T> for VectorRotateResult
impl<T> FfiConverter<T> for VectorRotateResult
§type FfiType = RustBuffer
type FfiType = RustBuffer
The low-level type used for passing values of this type over the FFI. Read more
source§fn lower(v: Self) -> RustBuffer
fn lower(v: Self) -> RustBuffer
Lower a rust value of the target type, into an FFI value of type Self::FfiType. Read more
source§fn try_lift(buf: RustBuffer) -> Result<Self>
fn try_lift(buf: RustBuffer) -> Result<Self>
Lift a rust value of the target type, from an FFI value of type Self::FfiType. Read more
source§fn write(obj: Self, buf: &mut Vec<u8>)
fn write(obj: Self, buf: &mut Vec<u8>)
Write a rust value into a buffer, to send over the FFI in serialized form. Read more
source§fn try_read(buf: &mut &[u8]) -> Result<Self>
fn try_read(buf: &mut &[u8]) -> Result<Self>
Read a rust value from a buffer, received over the FFI in serialized form. Read more
source§const TYPE_ID_META: MetadataBuffer = _
const TYPE_ID_META: MetadataBuffer = _
Type ID metadata, serialized into a [MetadataBuffer]. Read more
source§impl<UT> Lift<UT> for VectorRotateResult
impl<UT> Lift<UT> for VectorRotateResult
source§impl<UT> LiftRef<UT> for VectorRotateResult
impl<UT> LiftRef<UT> for VectorRotateResult
type LiftType = VectorRotateResult
source§impl<UT> LiftReturn<UT> for VectorRotateResult
impl<UT> LiftReturn<UT> for VectorRotateResult
source§fn lift_callback_return(buf: RustBuffer) -> Self
fn lift_callback_return(buf: RustBuffer) -> Self
Lift a Rust value for a callback interface method result
const TYPE_ID_META: MetadataBuffer = _
§fn lift_callback_error(_buf: RustBuffer) -> Self
fn lift_callback_error(_buf: RustBuffer) -> Self
Lift a Rust value for a callback interface method error result Read more
§fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
Lift a Rust value for an unexpected callback interface error Read more
source§impl<UT> Lower<UT> for VectorRotateResult
impl<UT> Lower<UT> for VectorRotateResult
source§impl<UT> LowerReturn<UT> for VectorRotateResult
impl<UT> LowerReturn<UT> for VectorRotateResult
§type ReturnType = <VectorRotateResult as Lower<UT>>::FfiType
type ReturnType = <VectorRotateResult as Lower<UT>>::FfiType
The type that should be returned by scaffolding functions for this type. Read more
source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustBuffer>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustBuffer>
Lower this value for scaffolding function return Read more
const TYPE_ID_META: MetadataBuffer = _
§fn handle_failed_lift(arg_name: &str, e: Error) -> Self
fn handle_failed_lift(arg_name: &str, e: Error) -> Self
If possible, get a serialized error for failed argument lifts Read more
Auto Trait Implementations§
impl RefUnwindSafe for VectorRotateResult
impl Send for VectorRotateResult
impl Sync for VectorRotateResult
impl Unpin for VectorRotateResult
impl UnwindSafe for VectorRotateResult
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