pub struct McpCodecLib { /* private fields */ }Implementations§
Source§impl McpCodecLib
impl McpCodecLib
Sourcepub fn new(id: CodecId) -> Self
pub fn new(id: CodecId) -> Self
Create the lib bound to the given codec id (obtained from
Registry::fresh_codec_id).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McpCodecLib
impl RefUnwindSafe for McpCodecLib
impl Send for McpCodecLib
impl Sync for McpCodecLib
impl Unpin for McpCodecLib
impl UnsafeUnpin for McpCodecLib
impl UnwindSafe for McpCodecLib
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