bookclerk_plugin_abi::plugin_capnp::write_options

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Item Kind Summary
Owned struct
Reader struct
Builder struct
Pipeline struct

Structs

Owned

pub struct Owned(/* private */);

Implements: Clone, Copy, Introspect, Owned, OwnedStruct, Pipelined, SetterInput<Owned>

Reader

pub struct Reader<'a> {
    /* private fields */
}

Reader::reborrow

pub fn reborrow(&self) -> Reader<'_>

Reader::total_size

pub fn total_size(&self) -> Result<MessageSize>

Reader::get_content_type

pub fn get_content_type(self) -> Result<Reader<'a>>

Reader::has_content_type

pub fn has_content_type(&self) -> bool

Reader::get_content_length

pub fn get_content_length(self) -> u64

Reader::get_sha256

pub fn get_sha256(self) -> Result<Reader<'a>>

Reader::has_sha256

pub fn has_sha256(&self) -> bool

Reader::get_commit_token

pub fn get_commit_token(self) -> Result<Reader<'a>>

Reader::has_commit_token

pub fn has_commit_token(&self) -> bool

Reader::get_stage_only

pub fn get_stage_only(self) -> bool

Reader::get_if_match

pub fn get_if_match(self) -> Result<Reader<'a>>

Reader::has_if_match

pub fn has_if_match(&self) -> bool

Reader::get_if_none_match

pub fn get_if_none_match(self) -> bool

Implements: Clone, Copy, Debug, From<Reader<'a>>, From<StructReader<'a>>, FromPointerReader<'a>, HasTypeId, Imbue<'a>, IntoInternalStructReader<'a>, SetterInput<Owned>

Builder

pub struct Builder<'a> {
    /* private fields */
}

Builder::into_reader

pub fn into_reader(self) -> Reader<'a>

Builder::reborrow

pub fn reborrow(&mut self) -> Builder<'_>

Builder::reborrow_as_reader

pub fn reborrow_as_reader(&self) -> Reader<'_>

Builder::total_size

pub fn total_size(&self) -> Result<MessageSize>

Builder::get_content_type

pub fn get_content_type(self) -> Result<Builder<'a>>

Builder::set_content_type

pub fn set_content_type(&mut self, value: impl SetterInput<Owned>)

Builder::init_content_type

pub fn init_content_type(self, size: u32) -> Builder<'a>

Builder::has_content_type

pub fn has_content_type(&self) -> bool

Builder::get_content_length

pub fn get_content_length(self) -> u64

Builder::set_content_length

pub fn set_content_length(&mut self, value: u64)

Builder::get_sha256

pub fn get_sha256(self) -> Result<Builder<'a>>

Builder::set_sha256

pub fn set_sha256(&mut self, value: Reader<'_>)

Builder::init_sha256

pub fn init_sha256(self, size: u32) -> Builder<'a>

Builder::has_sha256

pub fn has_sha256(&self) -> bool

Builder::get_commit_token

pub fn get_commit_token(self) -> Result<Builder<'a>>

Builder::set_commit_token

pub fn set_commit_token(&mut self, value: impl SetterInput<Owned>)

Builder::init_commit_token

pub fn init_commit_token(self, size: u32) -> Builder<'a>

Builder::has_commit_token

pub fn has_commit_token(&self) -> bool

Builder::get_stage_only

pub fn get_stage_only(self) -> bool

Builder::set_stage_only

pub fn set_stage_only(&mut self, value: bool)

Builder::get_if_match

pub fn get_if_match(self) -> Result<Builder<'a>>

Builder::set_if_match

pub fn set_if_match(&mut self, value: impl SetterInput<Owned>)

Builder::init_if_match

pub fn init_if_match(self, size: u32) -> Builder<'a>

Builder::has_if_match

pub fn has_if_match(&self) -> bool

Builder::get_if_none_match

pub fn get_if_none_match(self) -> bool

Builder::set_if_none_match

pub fn set_if_none_match(&mut self, value: bool)

Implements: From<Builder<'a>>, From<StructBuilder<'a>>, FromPointerBuilder<'a>, HasStructSize, HasTypeId, ImbueMut<'a>

Pipeline

pub struct Pipeline {
    /* private fields */
}

Implements: FromTypelessPipeline

Generated from crates/bookclerk-plugin-abi at main · View as Markdown