Struct breez_sdk_liquid::bitcoin::util::bip158::GCSFilterWriter
pub struct GCSFilterWriter<'a> { /* private fields */ }
Expand description
Colomb-Rice encoded filter writer
Implementations§
§impl<'a> GCSFilterWriter<'a>
impl<'a> GCSFilterWriter<'a>
pub fn new(
writer: &'a mut dyn Write,
k0: u64,
k1: u64,
m: u64,
p: u8,
) -> GCSFilterWriter<'a>
pub fn new( writer: &'a mut dyn Write, k0: u64, k1: u64, m: u64, p: u8, ) -> GCSFilterWriter<'a>
Create a new GCS writer wrapping a generic writer, with specific seed to siphash
pub fn add_element(&mut self, element: &[u8])
pub fn add_element(&mut self, element: &[u8])
Add some data to the filter
Auto Trait Implementations§
impl<'a> Freeze for GCSFilterWriter<'a>
impl<'a> !RefUnwindSafe for GCSFilterWriter<'a>
impl<'a> !Send for GCSFilterWriter<'a>
impl<'a> !Sync for GCSFilterWriter<'a>
impl<'a> Unpin for GCSFilterWriter<'a>
impl<'a> !UnwindSafe for GCSFilterWriter<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request