pub struct CheckpointCanonicalInput { /* private fields */ }Expand description
Full canonical content of one non-token input. Tensor identity and all bytes participate in equality; a hash alone is never the final matching proof.
Implementations§
Source§impl CheckpointCanonicalInput
impl CheckpointCanonicalInput
pub fn new( tensor: ResolvedTensorSpec, bytes: Vec<u8>, ) -> Result<Self, VNextError>
Trait Implementations§
Source§impl Clone for CheckpointCanonicalInput
impl Clone for CheckpointCanonicalInput
Source§fn clone(&self) -> CheckpointCanonicalInput
fn clone(&self) -> CheckpointCanonicalInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckpointCanonicalInput
impl Debug for CheckpointCanonicalInput
impl Eq for CheckpointCanonicalInput
Source§impl PartialEq for CheckpointCanonicalInput
impl PartialEq for CheckpointCanonicalInput
impl StructuralPartialEq for CheckpointCanonicalInput
Auto Trait Implementations§
impl Freeze for CheckpointCanonicalInput
impl RefUnwindSafe for CheckpointCanonicalInput
impl Send for CheckpointCanonicalInput
impl Sync for CheckpointCanonicalInput
impl Unpin for CheckpointCanonicalInput
impl UnsafeUnpin for CheckpointCanonicalInput
impl UnwindSafe for CheckpointCanonicalInput
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