pub struct RegisterSessionTeeRequest {
pub session_id: String,
pub session_kind: i32,
pub stream: i32,
pub sink_kind: i32,
pub file_path: Vec<u8>,
pub file_mode: i32,
pub queue_capacity: u32,
pub suppress_missed_markers: bool,
pub backpressure: i32,
}Fields§
§session_id: String§session_kind: i32§stream: i32§sink_kind: i32§file_path: Vec<u8>OS-native path bytes: Unix = OsStr bytes; Windows = little-endian UTF-16.
file_mode: i32§queue_capacity: u320 means use the daemon default.
suppress_missed_markers: boolfalse means write missed-byte markers, matching the Rust default.
backpressure: i32Implementations§
Source§impl RegisterSessionTeeRequest
impl RegisterSessionTeeRequest
Sourcepub fn session_kind(&self) -> TeeSessionKind
pub fn session_kind(&self) -> TeeSessionKind
Returns the enum value of session_kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_session_kind(&mut self, value: TeeSessionKind)
pub fn set_session_kind(&mut self, value: TeeSessionKind)
Sets session_kind to the provided enum value.
Sourcepub fn stream(&self) -> TeeStreamKind
pub fn stream(&self) -> TeeStreamKind
Returns the enum value of stream, or the default if the field is set to an invalid enum value.
Sourcepub fn set_stream(&mut self, value: TeeStreamKind)
pub fn set_stream(&mut self, value: TeeStreamKind)
Sets stream to the provided enum value.
Sourcepub fn sink_kind(&self) -> TeeSinkKind
pub fn sink_kind(&self) -> TeeSinkKind
Returns the enum value of sink_kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_sink_kind(&mut self, value: TeeSinkKind)
pub fn set_sink_kind(&mut self, value: TeeSinkKind)
Sets sink_kind to the provided enum value.
Sourcepub fn file_mode(&self) -> TeeFileMode
pub fn file_mode(&self) -> TeeFileMode
Returns the enum value of file_mode, or the default if the field is set to an invalid enum value.
Sourcepub fn set_file_mode(&mut self, value: TeeFileMode)
pub fn set_file_mode(&mut self, value: TeeFileMode)
Sets file_mode to the provided enum value.
Sourcepub fn backpressure(&self) -> TeeBackpressure
pub fn backpressure(&self) -> TeeBackpressure
Returns the enum value of backpressure, or the default if the field is set to an invalid enum value.
Sourcepub fn set_backpressure(&mut self, value: TeeBackpressure)
pub fn set_backpressure(&mut self, value: TeeBackpressure)
Sets backpressure to the provided enum value.
Trait Implementations§
Source§impl Clone for RegisterSessionTeeRequest
impl Clone for RegisterSessionTeeRequest
Source§fn clone(&self) -> RegisterSessionTeeRequest
fn clone(&self) -> RegisterSessionTeeRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RegisterSessionTeeRequest
impl Debug for RegisterSessionTeeRequest
Source§impl Default for RegisterSessionTeeRequest
impl Default for RegisterSessionTeeRequest
impl Eq for RegisterSessionTeeRequest
Source§impl Hash for RegisterSessionTeeRequest
impl Hash for RegisterSessionTeeRequest
Source§impl Message for RegisterSessionTeeRequest
impl Message for RegisterSessionTeeRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for RegisterSessionTeeRequest
impl PartialEq for RegisterSessionTeeRequest
Source§fn eq(&self, other: &RegisterSessionTeeRequest) -> bool
fn eq(&self, other: &RegisterSessionTeeRequest) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegisterSessionTeeRequest
Auto Trait Implementations§
impl Freeze for RegisterSessionTeeRequest
impl RefUnwindSafe for RegisterSessionTeeRequest
impl Send for RegisterSessionTeeRequest
impl Sync for RegisterSessionTeeRequest
impl Unpin for RegisterSessionTeeRequest
impl UnsafeUnpin for RegisterSessionTeeRequest
impl UnwindSafe for RegisterSessionTeeRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more