pub enum AdaptorRecord<O, B>{
V1(AdaptorRecordV1<O, B::InnerBackend>),
}Expand description
Optimizer adaptor record.
Records are versioned for backward compatibility, so old records can be loaded.
Variants§
V1(AdaptorRecordV1<O, B::InnerBackend>)
Version 1.
Implementations§
Source§impl<O, B> AdaptorRecord<O, B>
impl<O, B> AdaptorRecord<O, B>
Sourcepub fn into_state<const D: usize>(self) -> O::State<D>
pub fn into_state<const D: usize>(self) -> O::State<D>
Trait Implementations§
Source§impl<O, B> Clone for AdaptorRecord<O, B>
impl<O, B> Clone for AdaptorRecord<O, B>
Source§impl<O, B> Record<B> for AdaptorRecord<O, B>
impl<O, B> Record<B> for AdaptorRecord<O, B>
Source§type Item<S: PrecisionSettings> = AdaptorRecordItem<O, B, S>
type Item<S: PrecisionSettings> = AdaptorRecordItem<O, B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<O, B> Freeze for AdaptorRecord<O, B>
impl<O, B> RefUnwindSafe for AdaptorRecord<O, B>
impl<O, B> Send for AdaptorRecord<O, B>
impl<O, B> Sync for AdaptorRecord<O, B>
impl<O, B> Unpin for AdaptorRecord<O, B>
impl<O, B> UnsafeUnpin for AdaptorRecord<O, B>
impl<O, B> UnwindSafe for AdaptorRecord<O, B>
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