pub struct StreamSessionOptions {
pub agent: Option<String>,
pub max_outstanding: Option<usize>,
}Expand description
The options of a stream session.
Fields§
§agent: Option<String>The agent value that the session sends in PullHello.
The default is ostrya/<version>, with the version of this crate.
max_outstanding: Option<usize>The most get and
list_refs calls that hold a place in the
pipeline at a time.
The default is 8. The session raises a value of 0 to 1.
Trait Implementations§
Source§impl Clone for StreamSessionOptions
impl Clone for StreamSessionOptions
Source§impl Debug for StreamSessionOptions
impl Debug for StreamSessionOptions
Auto Trait Implementations§
impl Forget for StreamSessionOptions
impl Freeze for StreamSessionOptions
impl Move for StreamSessionOptions
impl RefUnwindSafe for StreamSessionOptions
impl Send for StreamSessionOptions
impl Sync for StreamSessionOptions
impl Unpin for StreamSessionOptions
impl UnsafeUnpin for StreamSessionOptions
impl UnwindSafe for StreamSessionOptions
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