pub enum FwRpcResponse {
InPlace(usize),
NewBuffer(KVVec<u8>),
}Expand description
Response from a Operations::fw_rpc call.
Variants§
InPlace(usize)
Reuse the input buffer as the output, with the given output length.
The callback returns EINVAL if the output length exceeds the input buffer length.
NewBuffer(KVVec<u8>)
Return a newly allocated buffer as the output.
Auto Trait Implementations§
impl Freeze for FwRpcResponse
impl RefUnwindSafe for FwRpcResponse
impl Send for FwRpcResponse
impl Sync for FwRpcResponse
impl Unpin for FwRpcResponse
impl UnsafeUnpin for FwRpcResponse
impl UnwindSafe for FwRpcResponse
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.