Struct solana_gossip::crds_gossip_pull::CrdsFilter
source · pub struct CrdsFilter {
pub filter: Bloom<Hash>,
/* private fields */
}
Fields
filter: Bloom<Hash>
Implementations
sourceimpl CrdsFilter
impl CrdsFilter
pub fn hash_as_u64(item: &Hash) -> u64
Trait Implementations
sourceimpl AbiExample for CrdsFilter
impl AbiExample for CrdsFilter
sourceimpl Clone for CrdsFilter
impl Clone for CrdsFilter
sourcefn clone(&self) -> CrdsFilter
fn clone(&self) -> CrdsFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CrdsFilter
impl Debug for CrdsFilter
sourceimpl Default for CrdsFilter
impl Default for CrdsFilter
sourceimpl<'de> Deserialize<'de> for CrdsFilter
impl<'de> Deserialize<'de> for CrdsFilter
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CrdsFilter> for CrdsFilter
impl PartialEq<CrdsFilter> for CrdsFilter
sourcefn eq(&self, other: &CrdsFilter) -> bool
fn eq(&self, other: &CrdsFilter) -> bool
sourceimpl Serialize for CrdsFilter
impl Serialize for CrdsFilter
impl StructuralPartialEq for CrdsFilter
Auto Trait Implementations
impl RefUnwindSafe for CrdsFilter
impl Send for CrdsFilter
impl Sync for CrdsFilter
impl Unpin for CrdsFilter
impl UnwindSafe for CrdsFilter
Blanket Implementations
sourceimpl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
sourceimpl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request