pub struct Builder { /* private fields */ }
Expand description
Builder for the docs protocol.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn protect_handler(self, protect_handler: ProtectCallbackHandler) -> Self
pub fn protect_handler(self, protect_handler: ProtectCallbackHandler) -> Self
Set the garbage collection protection handler for blobs.
See ProtectCallbackHandler::new
for details.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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