pub struct BlobsProtocol<S> { /* private fields */ }Expand description
Blobs connection handler.
Implementations§
Source§impl<S: Store> BlobsProtocol<S>
impl<S: Store> BlobsProtocol<S>
Sourcepub fn new(store: S, rt: LocalPoolHandle) -> Self
pub fn new(store: S, rt: LocalPoolHandle) -> Self
Returns a new instance of BlobsProtocol using the given store and local task pool.
BlobsProtocol implements the ProtocolHandler trait, allowing it to accept inbound
network connections for the purposes of blob sync.
Trait Implementations§
Source§impl<S: Debug> Debug for BlobsProtocol<S>
impl<S: Debug> Debug for BlobsProtocol<S>
Auto Trait Implementations§
impl<S> Freeze for BlobsProtocol<S>where
S: Freeze,
impl<S> RefUnwindSafe for BlobsProtocol<S>where
S: RefUnwindSafe,
impl<S> Send for BlobsProtocol<S>where
S: Send,
impl<S> Sync for BlobsProtocol<S>where
S: Sync,
impl<S> Unpin for BlobsProtocol<S>where
S: Unpin,
impl<S> UnwindSafe for BlobsProtocol<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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