pub trait OutgoingAssemblyTable {
// Required methods
fn capacity(&self) -> usize;
fn len(&self) -> usize;
fn link_ids(&self) -> &[LinkId];
fn original_hashes(&self) -> &[ResourceHash];
fn push(&mut self, link_id: LinkId, original_hash: ResourceHash);
fn swap_remove(&mut self, index: usize);
// Provided methods
fn is_empty(&self) -> bool { ... }
fn supports_static_continuations(&self) -> bool { ... }
fn static_continuation(
&self,
_index: usize,
) -> Option<StaticResponseContinuation> { ... }
fn set_static_continuation(
&mut self,
_index: usize,
_continuation: StaticResponseContinuation,
) -> bool { ... }
}Required Methods§
fn capacity(&self) -> usize
fn len(&self) -> usize
fn link_ids(&self) -> &[LinkId]
fn original_hashes(&self) -> &[ResourceHash]
fn push(&mut self, link_id: LinkId, original_hash: ResourceHash)
fn swap_remove(&mut self, index: usize)
Provided Methods§
fn is_empty(&self) -> bool
fn supports_static_continuations(&self) -> bool
fn static_continuation( &self, _index: usize, ) -> Option<StaticResponseContinuation>
fn set_static_continuation( &mut self, _index: usize, _continuation: StaticResponseContinuation, ) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".