[−][src]Struct pulsar::message::proto::CommandConnect
Fields
client_version: String
auth_method: Option<i32>
Deprecated. Use "auth_method_name" instead.
auth_method_name: Option<String>
auth_data: Option<Vec<u8>>
protocol_version: Option<i32>
proxy_to_broker_url: Option<String>
Client can ask to be proxyied to a specific broker This is only honored by a Pulsar proxy
original_principal: Option<String>
Original principal that was verified by a Pulsar proxy. In this case the auth info above will be the auth of the proxy itself
original_auth_data: Option<String>
Original auth role and auth Method that was passed to the proxy. In this case the auth info above will be the auth of the proxy itself
original_auth_method: Option<String>
Methods
impl CommandConnect
[src]
pub fn auth_method(&self) -> AuthMethod
[src]
pub fn set_auth_method(&mut self, value: AuthMethod)
[src]
pub fn auth_data(&self) -> &[u8]
[src]
pub fn protocol_version(&self) -> i32
[src]
pub fn auth_method_name(&self) -> &str
[src]
pub fn proxy_to_broker_url(&self) -> &str
[src]
pub fn original_principal(&self) -> &str
[src]
pub fn original_auth_data(&self) -> &str
[src]
pub fn original_auth_method(&self) -> &str
[src]
Trait Implementations
impl Clone for CommandConnect
[src]
fn clone(&self) -> CommandConnect
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CommandConnect
[src]
impl Default for CommandConnect
[src]
fn default() -> CommandConnect
[src]
impl Message for CommandConnect
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(&mut self, buf: &mut B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: IntoBuf,
Self: Default,
[src]
B: IntoBuf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: IntoBuf,
Self: Default,
[src]
B: IntoBuf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: IntoBuf,
[src]
B: IntoBuf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: IntoBuf,
[src]
B: IntoBuf,
impl PartialEq<CommandConnect> for CommandConnect
[src]
fn eq(&self, other: &CommandConnect) -> bool
[src]
fn ne(&self, other: &CommandConnect) -> bool
[src]
impl StructuralPartialEq for CommandConnect
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommandConnect
impl Send for CommandConnect
impl Sync for CommandConnect
impl Unpin for CommandConnect
impl UnwindSafe for CommandConnect
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,